Skip to content

Commit ce90c48

Browse files
committed
rm: remove clippy cognitive_complexity attribute
1 parent bd5a75f commit ce90c48

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/uu/rm/src/rm.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ fn prompt_dir(path: &Path, options: &Options) -> bool {
486486
}
487487
}
488488

489-
#[allow(clippy::cognitive_complexity)]
490489
fn prompt_file(path: &Path, options: &Options) -> bool {
491490
// If interactive is Never we never want to send prompts
492491
if options.interactive == InteractiveMode::Never {
@@ -527,7 +526,6 @@ fn prompt_file(path: &Path, options: &Options) -> bool {
527526
}
528527
}
529528

530-
#[allow(clippy::cognitive_complexity)]
531529
fn prompt_file_permission_readonly(
532530
path: &Path,
533531
metadata_or_err: Result<Metadata, std::io::Error>,

0 commit comments

Comments
 (0)