remove redundant clones
(clippy::redundant_clone)
This commit is contained in:
@@ -22,7 +22,7 @@ pub fn opts() -> TargetOptions {
|
||||
"-lmingw32".to_string(),
|
||||
];
|
||||
late_link_args.insert(LinkerFlavor::Gcc, mingw_libs.clone());
|
||||
late_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), mingw_libs.clone());
|
||||
late_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), mingw_libs);
|
||||
|
||||
TargetOptions {
|
||||
executables: false,
|
||||
|
||||
Reference in New Issue
Block a user