Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Feb 16, 2024
1 parent 7f9b696 commit 18cf9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn update(app: &mut MainApp, msg: MainAppMessage) -> Command<MainAppMessage>
}
MainAppMessage::CopyEmoji(emoji) => {
if let Some(cmd) = app.settings.copy_command.as_deref() {
let mut cmd = cmd.split(" ");
let mut cmd = cmd.split(' ');
let bin = cmd.next().unwrap();
let mut args = cmd.collect::<Vec<&str>>();
args.push(&emoji);
Expand Down

0 comments on commit 18cf9fc

Please sign in to comment.