diff --git a/src/engine.rs b/src/engine.rs index 2056671..986137f 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -379,7 +379,7 @@ impl DefaultAuthorStorage { } } -/// Peristent default author for a docs engine. +/// Persistent default author for a docs engine. #[derive(Debug)] pub struct DefaultAuthor { value: RwLock, diff --git a/src/store/fs.rs b/src/store/fs.rs index 981143c..5efe171 100644 --- a/src/store/fs.rs +++ b/src/store/fs.rs @@ -343,7 +343,7 @@ impl Store { }) } - /// Delte an author. + /// Delete an author. pub fn delete_author(&mut self, author: AuthorId) -> Result<()> { self.modify(|tables| { tables.authors.remove(author.as_bytes())?; @@ -881,7 +881,7 @@ impl Iterator for ParentIterator { /// a database snapshot open until it is dropped. /// /// Also, this represents a snapshot of the database at the time of creation. -/// It nees a copy of a redb::ReadOnlyTable to be self-contained. +/// It needs a copy of a redb::ReadOnlyTable to be self-contained. #[derive(derive_more::Debug)] pub struct ContentHashesIterator { #[debug(skip)]