diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 60ecf9090a4b9..005e72e8188cb 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -409,7 +409,7 @@ impl HashMap /// map.try_reserve(10).expect("why is the test harness OOMing on 10 bytes?"); /// ``` #[unstable(feature = "try_reserve", reason = "new API", issue="48043")] - pub fn try_reserve(&mut self, additional: usize) -> Result<(), CollectionAllocErr> { + pub fn try_reserve(&mut self, _additional: usize) -> Result<(), CollectionAllocErr> { unimplemented!() }