Rollup merge of #62858 - Rosto75:master, r=jonas-schievink
Change wrong variable name. r? @steveklabnik
This commit is contained in:
commit
e178a1e1b3
1 changed files with 4 additions and 4 deletions
|
@ -75,10 +75,10 @@ use Entry::*;
|
|||
///
|
||||
/// // look up the values associated with some keys.
|
||||
/// let to_find = ["Up!", "Office Space"];
|
||||
/// for book in &to_find {
|
||||
/// match movie_reviews.get(book) {
|
||||
/// Some(review) => println!("{}: {}", book, review),
|
||||
/// None => println!("{} is unreviewed.", book)
|
||||
/// for movie in &to_find {
|
||||
/// match movie_reviews.get(movie) {
|
||||
/// Some(review) => println!("{}: {}", movie, review),
|
||||
/// None => println!("{} is unreviewed.", movie)
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue