Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Nov 26, 2018
1 parent cfd3225 commit 03db6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ impl<K, V, S> HashMap<K, V, S>
/// 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!()
}

Expand Down

0 comments on commit 03db6f4

Please sign in to comment.