Skip to content

Commit

Permalink
Doc: Fix use of quote instead of backstick in Adapter::map.
Browse files Browse the repository at this point in the history
  • Loading branch information
darnuria committed Mar 3, 2022
1 parent 2f8d1a8 commit 37c1eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/adapters/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use crate::ops::Try;
/// }
/// ```
///
/// This will print "('a', 1), ('b', 2), ('c', 3)".
/// This will print `('a', 1), ('b', 2), ('c', 3)`.
///
/// Now consider this twist where we add a call to `rev`. This version will
/// print `('c', 1), ('b', 2), ('a', 3)`. Note that the letters are reversed,
Expand Down

0 comments on commit 37c1eb0

Please sign in to comment.