fix: allow compiling on Rust 1.57.0

This commit is contained in:
Harsh Shandilya 2022-05-11 21:02:19 +05:30
parent 0d7cace68c
commit 1c73c20a12
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ impl<'a> ClipboardHandler for Handler<'a> {
}
let result = subst.action.apply_action(&contents);
if let Err(e) = self.ctx.set_contents(result) {
error!("{e}");
error!("{}", e);
}
};
}