Skip to content

Commit 439ecf9

Browse files
authored
Fix typo in variable name
1 parent 4bddb76 commit 439ecf9

File tree

1 file changed

+1
-1
lines changed
  • src/liballoc/collections/btree

1 file changed

+1
-1
lines changed

src/liballoc/collections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ use self::Entry::*;
9898
/// }
9999
///
100100
/// // Look up the value for a key (will panic if the key is not found).
101-
/// println!("Review for Jane: {}", book_reviews["Pride and Prejudice"]);
101+
/// println!("Review for Jane: {}", movie_reviews["Pride and Prejudice"]);
102102
///
103103
/// // iterate over everything.
104104
/// for (movie, review) in &movie_reviews {

0 commit comments

Comments
 (0)