Skip to content

Commit

Permalink
run rustfmt on libstd/collections/hash folder
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasreddy committed Sep 26, 2016
1 parent c276928 commit 45f2b6a
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 45f2b6a

Please sign in to comment.