Skip to content

Commit 48a6112

Browse files
authored
Rollup merge of #34175 - rwz:patch-2, r=alexcrichton
Fix BTreeMap example typo The whole example is made around movies reviews, but that one line says "review some books".
2 parents 2092031 + 8180a91 commit 48a6112

File tree

1 file changed

+1
-1
lines changed
  • src/libcollections/btree

1 file changed

+1
-1
lines changed

src/libcollections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ use self::Entry::*;
6868
/// // would be `BTreeMap<&str, &str>` in this example).
6969
/// let mut movie_reviews = BTreeMap::new();
7070
///
71-
/// // review some books.
71+
/// // review some movies.
7272
/// movie_reviews.insert("Office Space", "Deals with real issues in the workplace.");
7373
/// movie_reviews.insert("Pulp Fiction", "Masterpiece.");
7474
/// movie_reviews.insert("The Godfather", "Very enjoyable.");

0 commit comments

Comments
 (0)