We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae8ab87 commit adbc71bCopy full SHA for adbc71b
library/std/src/collections/hash/map.rs
@@ -973,6 +973,9 @@ where
973
/// Returns an array of length `N` with the results of each query. For soundness, at most one
974
/// mutable reference will be returned to any value. `None` will be used if the key is missing.
975
///
976
+ /// This method does a O(n^2) check to check that there are no duplicate keys, so be careful
977
+ /// when passing many keys.
978
+ ///
979
/// # Panics
980
981
/// Panics if any keys are overlapping.
0 commit comments