We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffdb147 + 49dd50f commit d7209bfCopy full SHA for d7209bf
library/std/src/collections/hash/map.rs
@@ -1101,7 +1101,7 @@ where
1101
/// ```
1102
#[inline]
1103
#[stable(feature = "rust1", since = "1.0.0")]
1104
- #[rustc_confusables("push", "append")]
+ #[rustc_confusables("push", "append", "put")]
1105
pub fn insert(&mut self, k: K, v: V) -> Option<V> {
1106
self.base.insert(k, v)
1107
}
library/std/src/collections/hash/set.rs
@@ -885,7 +885,7 @@ where
885
886
887
888
889
pub fn insert(&mut self, value: T) -> bool {
890
self.base.insert(value)
891
0 commit comments