We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa8293 commit 60c54b7Copy full SHA for 60c54b7
src/test.rs
@@ -1,3 +1,4 @@
1
+#![allow(clippy::box_default)]
2
//! Test support module; public to permit use from integration tests.
3
use std::collections::HashMap;
4
use std::env;
@@ -120,7 +121,6 @@ pub fn this_host_triple() -> String {
120
121
// For windows, this host may be different to the target: we may be
122
// building with i686 toolchain, but on an x86_64 host, so run the
123
// actual detection logic and trust it.
- #[allow(clippy::box_default)]
124
let tp = Box::new(currentprocess::TestProcess::default());
125
return currentprocess::with(tp, || TargetTriple::from_host().unwrap().to_string());
126
}
0 commit comments