Skip to content

Commit 03db6f4

Browse files
committed
Fix warning
1 parent cfd3225 commit 03db6f4

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ impl<K, V, S> HashMap<K, V, S>
409409
/// map.try_reserve(10).expect("why is the test harness OOMing on 10 bytes?");
410410
/// ```
411411
#[unstable(feature = "try_reserve", reason = "new API", issue="48043")]
412-
pub fn try_reserve(&mut self, additional: usize) -> Result<(), CollectionAllocErr> {
412+
pub fn try_reserve(&mut self, _additional: usize) -> Result<(), CollectionAllocErr> {
413413
unimplemented!()
414414
}
415415

0 commit comments

Comments
 (0)