Add Diary::name() getter

This commit is contained in:
Matthias Beyer 2016-06-08 13:57:16 +02:00
parent ecba4e670f
commit 857daa1c99
1 changed files with 3 additions and 0 deletions

View File

@ -102,5 +102,8 @@ impl<'a> Diary<'a> {
}
}
pub fn name(&self) -> &'a str {
&self.name
}
}