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 e8aef7c commit 51fdc2bCopy full SHA for 51fdc2b
src/libstd/collections/hash/map.rs
@@ -318,6 +318,9 @@ const DISPLACEMENT_THRESHOLD: usize = 128;
318
/// }
319
320
///
321
+/// // Look up the value for a key (will panic if the key is not found).
322
+/// println!("Review for Jane: {}", book_reviews["Pride and Prejudice"]);
323
+///
324
/// // Iterate over everything.
325
/// for (book, review) in &book_reviews {
326
/// println!("{}: \"{}\"", book, review);
0 commit comments