Skip to content

Commit

Permalink
Update string.rs (#1552)
Browse files Browse the repository at this point in the history
Fix typo

Co-authored-by: Geoffroy Couprie <contact@geoffroycouprie.com>
  • Loading branch information
0x7FFFFFFFFFFFFFFF and Geal committed May 5, 2024
1 parent 996efb8 commit 9b8c752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/string.rs
Expand Up @@ -142,7 +142,7 @@ where
// and for each output value, calls a folding function on each output value.
let build_string = fold(
0..,
// Our parser function– parses a single string fragment
// Our parser function – parses a single string fragment
parse_fragment,
// Our init value, an empty string
String::new,
Expand Down

0 comments on commit 9b8c752

Please sign in to comment.