mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
chore(rustfix): remove useless clippy rules
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
b8e2f75881
commit
0b6c229e9d
@ -1,9 +1,10 @@
|
||||
#![allow(clippy::disallowed_methods, clippy::print_stdout, clippy::print_stderr)]
|
||||
#![allow(clippy::print_stderr)]
|
||||
|
||||
use anyhow::Error;
|
||||
use std::io::{stdin, BufReader, Read};
|
||||
use std::{collections::HashMap, collections::HashSet, env, fs};
|
||||
|
||||
use anyhow::Error;
|
||||
|
||||
fn main() -> Result<(), Error> {
|
||||
let suggestions_file = env::args().nth(1).expect("USAGE: fix-json <file or -->");
|
||||
let suggestions = if suggestions_file == "--" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user