Skip to content

Commit b246c4c

Browse files
Update exercise-book/src/iterators.md
Co-authored-by: Andrei Listochkin (Андрей Листочкин) <andrei.listochkin@ferrous-systems.com>
1 parent e406068 commit b246c4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exercise-book/src/iterators.md

-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ fn main() -> Result<(), Box<dyn Error>> {
307307
let odd_numbers = reader.lines()
308308
.filter_map(|line| line.ok())
309309
.filter_map(|line| line.parse::<i32>().ok())
310-
.map(|stringy_num| stringy_num.to_string())
311310
.filter(|num| num % 2 != 0)
312311
.collect::<Vec<i32>>();
313312

0 commit comments

Comments
 (0)