Skip to content

Commit

Permalink
Auto merge of #10105 - hi-rustin:rustin-patch-clippy, r=ehuss
Browse files Browse the repository at this point in the history
Make clippy happy

Make clippy happy. Remove redundant clone.
  • Loading branch information
bors committed Nov 21, 2021
2 parents 7a947ae + a0dffe0 commit fa107dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ fn all_profile_options() {
let profile = toml::TomlProfile {
build_override: Some(Box::new(base_settings.clone())),
package: Some(overrides),
..base_settings.clone()
..base_settings
};
let profile_toml = ::toml::to_string(&profile).unwrap();
let roundtrip: toml::TomlProfile = ::toml::from_str(&profile_toml).unwrap();
Expand Down

0 comments on commit fa107dd

Please sign in to comment.