Skip to content

Commit

Permalink
Replace libtest/lib.rs:FnBox with std::boxed::FnBox.
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Dec 15, 2017
1 parent 76bd292 commit 5eb870b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ pub fn make_test_name(config: &Config, testpaths: &TestPaths) -> test::TestName
pub fn make_test_closure(config: &Config, testpaths: &TestPaths) -> test::TestFn {
let config = config.clone();
let testpaths = testpaths.clone();
test::DynTestFn(Box::new(move |()| runtest::run(config, &testpaths)))
test::DynTestFn(Box::new(move || runtest::run(config, &testpaths)))
}

/// Returns (Path to GDB, GDB Version, GDB has Rust Support)
Expand Down

0 comments on commit 5eb870b

Please sign in to comment.