diff options
| author | lukeflo | 2025-01-29 20:42:21 +0100 |
|---|---|---|
| committer | lukeflo | 2025-01-29 20:42:21 +0100 |
| commit | fb34960e523b8f618fc4e024902f43928d8aa716 (patch) | |
| tree | 22fec98a9605360a9b5d446db63af8229785c733 /src/bibiman.rs | |
| parent | 6e320ef536e9bb1c73f583e26d5a765c3214ef83 (diff) | |
| download | bibiman-fb34960e523b8f618fc4e024902f43928d8aa716.tar.gz bibiman-fb34960e523b8f618fc4e024902f43928d8aa716.zip | |
try with borrowed values
Diffstat (limited to 'src/bibiman.rs')
| -rw-r--r-- | src/bibiman.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bibiman.rs b/src/bibiman.rs index 7fd98cd..9955896 100644 --- a/src/bibiman.rs +++ b/src/bibiman.rs @@ -59,7 +59,7 @@ pub enum FormerArea { // Application. #[derive(Debug)] -pub struct Bibiman { +pub struct Bibiman<'a> { // main bib file // pub main_bibfiles: Vec<PathBuf>, // main bibliography @@ -69,7 +69,7 @@ pub struct Bibiman { // tag list pub tag_list: TagList, // table items - pub entry_table: EntryTable, + pub entry_table: EntryTable<'a>, // scroll state info buffer pub scroll_info: u16, // area @@ -80,7 +80,7 @@ pub struct Bibiman { pub popup_area: PopupArea, } -impl Bibiman { +impl Bibiman<'_> { // Constructs a new instance of [`App`]. pub fn new(args: &CLIArgs) -> Result<Self> { // let main_bibfiles = args.fileargs.clone(); |
