Add Diary::name() getter
This commit is contained in:
parent
ecba4e670f
commit
857daa1c99
1 changed files with 3 additions and 0 deletions
|
@ -102,5 +102,8 @@ impl<'a> Diary<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn name(&self) -> &'a str {
|
||||
&self.name
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue