mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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".
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
/// // 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.");
|
||||
|
||||
Reference in New Issue
Block a user