Remove unecessary clone

This commit is contained in:
Matthias Beyer 2018-04-24 21:05:51 +02:00
parent a25f650ca0
commit 67675b2ab2

View file

@ -62,7 +62,7 @@ pub mod err {
let mut n = RustNotification::new(); let mut n = RustNotification::new();
n.appname("imag"); n.appname("imag");
n.summary("[Error]"); n.summary("[Error]");
n.urgency(urgency.clone()); n.urgency(urgency);
n.body(e.description()); n.body(e.description());
try!(n.finalize().show().map(|_| ()).chain_err(|| NEK::Unknown)); try!(n.finalize().show().map(|_| ()).chain_err(|| NEK::Unknown));