Skip to content

Commit 02e95e5

Browse files
committed
remove needless clone
1 parent 88bac1f commit 02e95e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ actual:\n\
11671167
}
11681168

11691169
fn exec_compiled_test(&self) -> ProcRes {
1170-
let env = self.props.exec_env.clone();
1170+
let env = &self.props.exec_env;
11711171

11721172
match &*self.config.target {
11731173
// This is pretty similar to below, we're transforming:

0 commit comments

Comments
 (0)