mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #3548 from cakebaker/suppress_clippy_error
df/uniq: suppress lint errors
This commit is contained in:
commit
9db0a877aa
2 changed files with 4 additions and 0 deletions
|
@ -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!(
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue