mirror of
https://github.com/mre/mos6502.git
synced 2024-11-30 20:51:21 +00:00
remove call to .trim(), as clippy suggests
This commit is contained in:
parent
8e876989e4
commit
18e55aaeca
@ -8,7 +8,6 @@ fn main() {
|
|||||||
std::io::stdin().read_line(&mut input).unwrap();
|
std::io::stdin().read_line(&mut input).unwrap();
|
||||||
|
|
||||||
let zero_page_data = input
|
let zero_page_data = input
|
||||||
.trim()
|
|
||||||
.split_whitespace()
|
.split_whitespace()
|
||||||
.map(|s| s.parse::<u8>().unwrap())
|
.map(|s| s.parse::<u8>().unwrap())
|
||||||
.collect::<Vec<u8>>();
|
.collect::<Vec<u8>>();
|
||||||
|
Loading…
Reference in New Issue
Block a user