Skip to content

Commit fa107dd

Browse files
committed
Auto merge of #10105 - hi-rustin:rustin-patch-clippy, r=ehuss
Make clippy happy Make clippy happy. Remove redundant clone.
2 parents 7a947ae + a0dffe0 commit fa107dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ fn all_profile_options() {
14911491
let profile = toml::TomlProfile {
14921492
build_override: Some(Box::new(base_settings.clone())),
14931493
package: Some(overrides),
1494-
..base_settings.clone()
1494+
..base_settings
14951495
};
14961496
let profile_toml = ::toml::to_string(&profile).unwrap();
14971497
let roundtrip: toml::TomlProfile = ::toml::from_str(&profile_toml).unwrap();

0 commit comments

Comments
 (0)