We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fdc2b commit 4bddb76Copy full SHA for 4bddb76
src/liballoc/collections/btree/map.rs
@@ -97,6 +97,9 @@ use self::Entry::*;
97
/// }
98
99
///
100
+/// // 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"]);
102
+///
103
/// // iterate over everything.
104
/// for (movie, review) in &movie_reviews {
105
/// println!("{}: \"{}\"", movie, review);
0 commit comments