1
Fork 0

Rollup merge of #62858 - Rosto75:master, r=jonas-schievink

Change wrong variable name.

r? @steveklabnik
This commit is contained in:
Mazdak Farrokhzad 2019-07-22 15:32:27 +02:00 committed by GitHub
commit e178a1e1b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,10 +75,10 @@ use Entry::*;
/// ///
/// // look up the values associated with some keys. /// // look up the values associated with some keys.
/// let to_find = ["Up!", "Office Space"]; /// let to_find = ["Up!", "Office Space"];
/// for book in &to_find { /// for movie in &to_find {
/// match movie_reviews.get(book) { /// match movie_reviews.get(movie) {
/// Some(review) => println!("{}: {}", book, review), /// Some(review) => println!("{}: {}", movie, review),
/// None => println!("{} is unreviewed.", book) /// None => println!("{} is unreviewed.", movie)
/// } /// }
/// } /// }
/// ///