Add documentation for type

This commit is contained in:
Matthias Beyer 2018-04-16 10:33:17 +02:00
parent 8928f9cb94
commit 816708a1aa

View file

@ -35,6 +35,15 @@ use error::Result;
pub struct Wiki<'a, 'b>(&'a Store, &'b str);
/// An interface for accessing, creating and deleting "wiki pages"
///
/// Wiki pages are normal entries with some details added.
///
///
/// # Details
///
/// Entries are automatically linked to the "index" page when created and retrieved.
///
impl<'a, 'b> Wiki<'a, 'b> {
pub(crate) fn new(store: &'a Store, name: &'b str) -> Wiki<'a, 'b> {