diff options
| author | lukeflo | 2024-11-14 15:54:58 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-14 15:54:58 +0100 |
| commit | f251969044036ecfbc2cd4774c9ecb97b1992bb3 (patch) | |
| tree | a5d3fc06f4eeee62280dced32eca47d297577935 /src/app.rs | |
| parent | ca51eea300b84a6fa865c6f3e00823a8099bb9bc (diff) | |
| download | bibiman-f251969044036ecfbc2cd4774c9ecb97b1992bb3.tar.gz bibiman-f251969044036ecfbc2cd4774c9ecb97b1992bb3.zip | |
refined complicated code parts
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(), ); } |
