From 4308e04a2d3756038dfb9f29b222477e4745677c Mon Sep 17 00:00:00 2001 From: Matthew Gin Date: Tue, 7 Jul 2026 21:21:18 -0700 Subject: [PATCH] Fix typo in iter_result.md Corrected a typo in the explanation of using `map_err()` and `filter_map()`. --- src/error/iter_result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/iter_result.md b/src/error/iter_result.md index 288f4fc022..8a82e74175 100644 --- a/src/error/iter_result.md +++ b/src/error/iter_result.md @@ -33,7 +33,7 @@ fn main() { ## Collect the failed items with `map_err()` and `filter_map()` `map_err` calls a function with the error, so by adding that to the previous -`filter_map` solution we can save them off to the side while iterating. +`filter_map` solution we can shave them off to the side while iterating. ```rust,editable fn main() {