Skip to content

Commit

Permalink
Avoid clones as much as possible :D
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnxpl0it committed Dec 29, 2024
1 parent ac2f86c commit 7c9d547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ content = '''

let template: Template = toml::from_str(&conf_template).unwrap();

Template::extract(template, &mut keywords.clone());
Template::extract(template, keywords);
}

pub fn get_keywords(self) -> HashMap<String, String> {
Expand Down

0 comments on commit 7c9d547

Please sign in to comment.