Skip to content

Commit 7b40448

Browse files
Fix collection entry API documentation.
1 parent 493ea77 commit 7b40448

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/collections

1 file changed

+1
-1
lines changed

library/std/src/collections/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
//! not. Normally, this would require a `find` followed by an `insert`,
269269
//! effectively duplicating the search effort on each insertion.
270270
//!
271-
//! When a user calls `map.entry(&key)`, the map will search for the key and
271+
//! When a user calls `map.entry(key)`, the map will search for the key and
272272
//! then yield a variant of the `Entry` enum.
273273
//!
274274
//! If a `Vacant(entry)` is yielded, then the key *was not* found. In this case

0 commit comments

Comments
 (0)