Skip to content

Commit cd6147c

Browse files
committed
cp: remove clippy::cognitive_complexity
1 parent e976e6a commit cd6147c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/uu/cp/src/cp.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,6 @@ impl Attributes {
887887
}
888888

889889
impl Options {
890-
#[allow(clippy::cognitive_complexity)]
891890
/// Constructs an Options instance from command line matches.
892891
fn from_matches(matches: &ArgMatches) -> CopyResult<Self> {
893892
let not_implemented_opts = vec![
@@ -1873,7 +1872,6 @@ fn handle_update_mode(
18731872
///
18741873
/// The original permissions of `source` will be copied to `dest`
18751874
/// after a successful copy.
1876-
#[allow(clippy::cognitive_complexity)]
18771875
fn copy_file(
18781876
progress_bar: &Option<ProgressBar>,
18791877
source: &Path,

0 commit comments

Comments
 (0)