From 67675b2ab26d5350e8d4e798320b0f0406accaca Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 24 Apr 2018 21:05:51 +0200 Subject: [PATCH] Remove unecessary clone --- lib/etc/libimagnotification/src/result_notification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/etc/libimagnotification/src/result_notification.rs b/lib/etc/libimagnotification/src/result_notification.rs index 497c2e4f..8f700caa 100644 --- a/lib/etc/libimagnotification/src/result_notification.rs +++ b/lib/etc/libimagnotification/src/result_notification.rs @@ -62,7 +62,7 @@ pub mod err { let mut n = RustNotification::new(); n.appname("imag"); n.summary("[Error]"); - n.urgency(urgency.clone()); + n.urgency(urgency); n.body(e.description()); try!(n.finalize().show().map(|_| ()).chain_err(|| NEK::Unknown));