1
0
mirror of https://github.com/mre/mos6502.git synced 2024-11-28 07:49:19 +00:00

remove call to .trim(), as clippy suggests

This commit is contained in:
Sam M W 2022-08-09 04:14:46 +01:00
parent 8e876989e4
commit 18e55aaeca

View File

@ -8,7 +8,6 @@ fn main() {
std::io::stdin().read_line(&mut input).unwrap();
let zero_page_data = input
.trim()
.split_whitespace()
.map(|s| s.parse::<u8>().unwrap())
.collect::<Vec<u8>>();