diff options
Diffstat (limited to 'src/copy_move.rs')
-rw-r--r-- | src/copy_move.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy_move.rs b/src/copy_move.rs index 2179acb..2da977b 100644 --- a/src/copy_move.rs +++ b/src/copy_move.rs @@ -137,6 +137,6 @@ pub fn copy_move( /// Send a notification to the desktop. /// Requires "notify-send" to be installed. fn notify(text: &str) -> Result<()> { - execute_in_child("notify-send", &vec![text])?; + execute_in_child("notify-send", &[text])?; Ok(()) } |