Skip to content

Commit 8c66596

Browse files
author
Marek Suchánek
committed
Apply a clippy suggestion
1 parent d742819 commit 8c66596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl Options {
133133

134134
// These options only exist on the command line, not in config files.
135135
// Always use the value from CLI arguments.
136-
self.target_dir = cli.common_options.target_dir.clone();
136+
self.target_dir.clone_from(&cli.common_options.target_dir);
137137
}
138138
}
139139

0 commit comments

Comments
 (0)