From a0dffe0f43f20a740f199b00b3dd004f314547b2 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Sun, 21 Nov 2021 11:40:31 +0800 Subject: [PATCH] Make clippy happy Signed-off-by: hi-rustin --- tests/testsuite/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/config.rs b/tests/testsuite/config.rs index aa585c993a1..e6576eee2b0 100644 --- a/tests/testsuite/config.rs +++ b/tests/testsuite/config.rs @@ -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();