mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix BTreeMap example typo
The whole example is made around movies reviews, but that one line says "review some books".
This commit is contained in:
parent
34505e2228
commit
8180a910f9
@ -68,7 +68,7 @@ use self::Entry::*;
|
||||
/// // would be `BTreeMap<&str, &str>` in this example).
|
||||
/// let mut movie_reviews = BTreeMap::new();
|
||||
///
|
||||
/// // review some books.
|
||||
/// // review some movies.
|
||||
/// movie_reviews.insert("Office Space", "Deals with real issues in the workplace.");
|
||||
/// movie_reviews.insert("Pulp Fiction", "Masterpiece.");
|
||||
/// movie_reviews.insert("The Godfather", "Very enjoyable.");
|
||||
|
Loading…
Reference in New Issue
Block a user