Fallout in public-facing and semi-public-facing libs

This commit is contained in:
Niko Matsakis
2015-03-30 09:40:52 -04:00
parent 49b76a087b
commit c35c46821a
39 changed files with 273 additions and 242 deletions

View File

@@ -193,7 +193,7 @@ impl fmt::Debug for TestFn {
/// This is fed into functions marked with `#[bench]` to allow for
/// set-up & tear-down before running a piece of code repeatedly via a
/// call to `iter`.
#[derive(Copy)]
#[derive(Copy, Clone)]
pub struct Bencher {
iterations: u64,
dur: Duration,
@@ -280,7 +280,7 @@ pub fn test_main_static(args: env::Args, tests: &[TestDescAndFn]) {
test_main(&args, owned_tests)
}
#[derive(Copy)]
#[derive(Copy, Clone)]
pub enum ColorConfig {
AutoColor,
AlwaysColor,