Skip to content

Commit 181c176

Browse files
committed
Address new clippy lints
1 parent 49f3ffa commit 181c176

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: util/process_wrapper/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ fn environment_block(
308308
// Have the last values added take precedence over the first.
309309
// This is simpler than needing to track duplicates and explicitly override
310310
// them.
311-
environment_variables.extend(environment_file_block.into_iter());
311+
environment_variables.extend(environment_file_block);
312312
for (f, replace_with) in &[stable_stamp_mappings, volatile_stamp_mappings].concat() {
313313
for value in environment_variables.values_mut() {
314314
let from = format!("{{{f}}}");

Diff for: util/process_wrapper/util.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ mod test {
8484

8585
#[test]
8686
fn test_read_to_array() {
87-
let input = r#"some escaped \\\
87+
let input = r"some escaped \\\
8888
string
89-
with other lines"#
89+
with other lines"
9090
.to_owned();
9191
let expected = vec![
9292
r#"some escaped \

0 commit comments

Comments
 (0)