Skip to content

Commit

Permalink
Splits the lib.rs file
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Jun 16, 2019
1 parent d3a6c9c commit ef7c328
Show file tree
Hide file tree
Showing 16 changed files with 2,402 additions and 2,368 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,4 @@ const_generics = []
may_dangle = []
specialization = []
std = []
union = []

[lib]
name = "smallvec"
path = "lib.rs"
union = []
4 changes: 2 additions & 2 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

extern crate test;

use test::Bencher;
use smallvec::{smallvec, ExtendFromSlice, SmallVec};
use test::Bencher;

const VEC_SIZE: usize = 16;
const SPILLED_SIZE: usize = 100;
Expand Down Expand Up @@ -294,4 +294,4 @@ fn bench_macro_from_list_vec(b: &mut Bencher) {
];
vec
});
}
}
Loading

0 comments on commit ef7c328

Please sign in to comment.