1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

df/uniq: suppress lint errors

This commit is contained in:
Daniel Hofstetter 2022-05-20 15:10:16 +02:00
parent c517096e19
commit af5ef5585f
2 changed files with 4 additions and 0 deletions

View file

@ -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!(

View file

@ -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};