diff --git a/src/error.rs b/src/error.rs index 98bf01b5..a35657f5 100644 --- a/src/error.rs +++ b/src/error.rs @@ -4,12 +4,12 @@ pub use std::io::ErrorKind as IoErrorKind; use std::{borrow::Cow, convert::Infallible, io}; use thiserror::Error; -/// A unified error enum that contains several errors that might occurr during +/// A unified error enum that contains several errors that might occur during /// the lifecycle of this driver #[derive(Debug, Clone, Error, PartialEq, Eq)] pub enum Error { - #[error("An error occured during the attempt of performing I/O: {}", message)] - /// An error occured when performing I/O to the server. + #[error("An error occurred during the attempt of performing I/O: {}", message)] + /// An error occurred when performing I/O to the server. Io { /// A list specifying general categories of I/O error. kind: IoErrorKind,