Skip to content

Commit 60c54b7

Browse files
Clippy fixes
1 parent ffa8293 commit 60c54b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(clippy::box_default)]
12
//! Test support module; public to permit use from integration tests.
23
use std::collections::HashMap;
34
use std::env;
@@ -120,7 +121,6 @@ pub fn this_host_triple() -> String {
120121
// For windows, this host may be different to the target: we may be
121122
// building with i686 toolchain, but on an x86_64 host, so run the
122123
// actual detection logic and trust it.
123-
#[allow(clippy::box_default)]
124124
let tp = Box::new(currentprocess::TestProcess::default());
125125
return currentprocess::with(tp, || TargetTriple::from_host().unwrap().to_string());
126126
}

0 commit comments

Comments
 (0)