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.
|
/// // 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)
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue