diff --git a/crates/rustfix/examples/fix-json.rs b/crates/rustfix/examples/fix-json.rs index 676171106..93a8a5503 100644 --- a/crates/rustfix/examples/fix-json.rs +++ b/crates/rustfix/examples/fix-json.rs @@ -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 "); let suggestions = if suggestions_file == "--" {