Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamprikshit1 committed Mar 19, 2023
1 parent ffa8293 commit 60c54b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::box_default)]
//! Test support module; public to permit use from integration tests.
use std::collections::HashMap;
use std::env;
Expand Down Expand Up @@ -120,7 +121,6 @@ pub fn this_host_triple() -> String {
// For windows, this host may be different to the target: we may be
// building with i686 toolchain, but on an x86_64 host, so run the
// actual detection logic and trust it.
#[allow(clippy::box_default)]
let tp = Box::new(currentprocess::TestProcess::default());
return currentprocess::with(tp, || TargetTriple::from_host().unwrap().to_string());
}
Expand Down

0 comments on commit 60c54b7

Please sign in to comment.