Skip to content

Commit

Permalink
clippy correction on rust 1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
mothsART committed Oct 7, 2023
1 parent 907585d commit 22968b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ pub mod machreduce;

pub fn readlines() -> Vec<String> {
let stdin = std::io::stdin();
let v = stdin.lines().map(|x| x.unwrap()).collect();
v
stdin.lines().map(|x| x.unwrap()).collect()
}

0 comments on commit 22968b3

Please sign in to comment.