Skip to content

Commit d6e49ca

Browse files
committed
Fix clippy warnings.
1 parent 7e04d19 commit d6e49ca

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

crates/rustfix/examples/fix-json.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::disallowed_methods, clippy::print_stdout, clippy::print_stderr)]
2+
13
use anyhow::Error;
24
use std::io::{stdin, BufReader, Read};
35
use std::{collections::HashMap, collections::HashSet, env, fs};

crates/rustfix/tests/parse_and_replace.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::disallowed_methods, clippy::print_stdout, clippy::print_stderr)]
12
#![cfg(not(windows))] // TODO: should fix these tests on Windows
23

34
use anyhow::{anyhow, ensure, Context, Error};

0 commit comments

Comments
 (0)