diff --git a/src/uu/df/src/df.rs b/src/uu/df/src/df.rs index 793138f7d..7c95e6938 100644 --- a/src/uu/df/src/df.rs +++ b/src/uu/df/src/df.rs @@ -148,6 +148,7 @@ impl fmt::Display for OptionsError { "option --output: field {} used more than once", s.quote() ), + #[allow(clippy::print_in_format_impl)] Self::FilesystemTypeBothSelectedAndExcluded(types) => { for t in types { eprintln!( diff --git a/src/uu/uniq/src/uniq.rs b/src/uu/uniq/src/uniq.rs index e71c21303..d947166fe 100644 --- a/src/uu/uniq/src/uniq.rs +++ b/src/uu/uniq/src/uniq.rs @@ -5,6 +5,9 @@ // * For the full copyright and license information, please view the LICENSE // * file that was distributed with this source code. +// TODO remove this when https://github.com/rust-lang/rust-clippy/issues/6902 is fixed +#![allow(clippy::use_self)] + use clap::{crate_version, Arg, ArgMatches, Command}; use std::fs::File; use std::io::{self, stdin, stdout, BufRead, BufReader, BufWriter, Read, Write};