diff --git a/crates/iddqd/src/id_ord_map/imp.rs b/crates/iddqd/src/id_ord_map/imp.rs index 0b81b2c1..361def1f 100644 --- a/crates/iddqd/src/id_ord_map/imp.rs +++ b/crates/iddqd/src/id_ord_map/imp.rs @@ -225,9 +225,9 @@ impl IdOrdMap { ) -> Result> { let mut map = IdOrdMap::new(); for value in iter { - // It would be nice to use insert_overwrite here, but that would - // return a `DuplicateItem`, which can only be converted into - // an owned value if T: Clone. Doing this via the Entry API means we + // It would be nice to use insert_unique here, but that would return + // a `DuplicateItem`, which can only be converted into an + // owned value if T: Clone. Doing this via the Entry API means we // can return a `DuplicateItem` without requiring T to be Clone. match map.entry(value.key()) { Entry::Occupied(entry) => {