aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.rs b/src/app.rs
index 81a5b55..1a9b9c6 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -228,9 +228,9 @@ impl App {
}
CmdAction::YankItem => {
if let CurrentArea::EntryArea = self.bibiman.current_area {
- Bibiman::yank_text(&self.bibiman.get_selected_citekey());
+ Bibiman::yank_text(self.bibiman.get_selected_citekey());
self.bibiman.popup_area.popup_message(
- "Yanked citekey to clipboard:",
+ "Yanked citekey to clipboard:".to_owned(),
self.bibiman.get_selected_citekey().to_string(),
);
}