aboutsummaryrefslogtreecommitdiff
path: root/src/bibiman.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bibiman.rs')
-rw-r--r--src/bibiman.rs6
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();