Skip to content

Commit 8180a91

Browse files
committed
Fix BTreeMap example typo
The whole example is made around movies reviews, but that one line says "review some books".
1 parent 34505e2 commit 8180a91

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/libcollections/btree/map.rs

Lines changed: 1 addition & 1 deletion
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)