Skip to content

Commit baa1822

Browse files
naseschwarzNaseschwarz
and
Naseschwarz
authored
Remove some #[allow]s II (#2616)
Co-authored-by: Naseschwarz <[email protected]>
1 parent e08d954 commit baa1822

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Diff for: src/args.rs

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pub fn process_cmdline() -> Result<CliArgs> {
3838
.get_one::<String>("directory")
3939
.map_or_else(|| PathBuf::from("."), PathBuf::from);
4040

41-
#[allow(clippy::option_if_let_else)]
4241
let repo_path = if let Some(w) = workdir {
4342
RepoPath::Workdir { gitdir, workdir: w }
4443
} else {

Diff for: src/components/commit_details/compare_details.rs

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ impl CompareDetailsComponent {
5858
});
5959
}
6060

61-
#[allow(unstable_name_collisions)]
6261
fn get_commit_text(&self, data: &CommitDetails) -> Vec<Line> {
6362
let mut res = vec![
6463
Line::from(vec![

Diff for: src/components/commit_details/details.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl DetailsComponent {
155155
.collect()
156156
}
157157

158-
#[allow(unstable_name_collisions, clippy::too_many_lines)]
158+
#[allow(clippy::too_many_lines)]
159159
fn get_text_info(&self) -> Vec<Line> {
160160
self.data.as_ref().map_or_else(Vec::new, |data| {
161161
let mut res = vec![

0 commit comments

Comments
 (0)