diff --git a/carol/src/error.rs b/carol/src/error.rs index bdc0ade..6e5c9a9 100644 --- a/carol/src/error.rs +++ b/carol/src/error.rs @@ -11,7 +11,7 @@ pub struct NonUtf8PathError; /// Carol storage error. #[derive(thiserror::Error, Debug)] pub enum StorageError { - /// Storage database releated error + /// Storage database related error #[error("database error")] DatabaseError(#[from] E), diff --git a/carol/src/storage_config.rs b/carol/src/storage_config.rs index bbae670..6133d8d 100644 --- a/carol/src/storage_config.rs +++ b/carol/src/storage_config.rs @@ -29,7 +29,7 @@ pub struct StorageConfig { /// space. It is recommended for users to manually restrict the size of the storage, e.g. by /// placing it on a separate filesystem. /// - /// When "no space left" error occures, storage manager will invoke this policy in attemp to + /// When "no space left" error occurs, storage manager will invoke this policy in attempt to /// free space. /// /// Default eviction policy is [`EvictionPolicy::Lru`].