Skip to content

Commit

Permalink
Auto merge of #36753 - srinivasreddy:hash, r=nrc
Browse files Browse the repository at this point in the history
run rustfmt on libstd/collections/hash folder
  • Loading branch information
bors committed Oct 7, 2016
2 parents 75c155b + 45f2b6a commit b4e8972
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 279 deletions.
6 changes: 3 additions & 3 deletions src/libstd/collections/hash/bench.rs
Expand Up @@ -15,17 +15,17 @@ extern crate test;
use self::test::Bencher;

#[bench]
fn new_drop(b : &mut Bencher) {
fn new_drop(b: &mut Bencher) {
use super::map::HashMap;

b.iter(|| {
let m : HashMap<i32, i32> = HashMap::new();
let m: HashMap<i32, i32> = HashMap::new();
assert_eq!(m.len(), 0);
})
}

#[bench]
fn new_insert_drop(b : &mut Bencher) {
fn new_insert_drop(b: &mut Bencher) {
use super::map::HashMap;

b.iter(|| {
Expand Down

0 comments on commit b4e8972

Please sign in to comment.