Skip to content

Commit 0aa7b86

Browse files
author
Vinh Tran
committed
Remove unused function
1 parent fbd99ca commit 0aa7b86

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/driver.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@ fn display_help() {
171171
println!("{}", help_message());
172172
}
173173

174-
fn read_lines<P>(filename: P) -> io::Result<io::Lines<io::BufReader<File>>>
175-
where
176-
P: AsRef<Path>,
177-
{
178-
let file = File::open(filename)?;
179-
Ok(io::BufReader::new(file).lines())
180-
}
181-
182174
const BUG_REPORT_URL: &str = "https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml";
183175

184176
#[allow(clippy::too_many_lines)]

0 commit comments

Comments
 (0)