diff --git a/crates/safelog/src/err.rs b/crates/safelog/src/err.rs index 7a78b1f39..4be2339d8 100644 --- a/crates/safelog/src/err.rs +++ b/crates/safelog/src/err.rs @@ -6,12 +6,12 @@ pub enum Error { /// Tried to call [`disable_safe_logging`](crate::disable_safe_logging), but /// `enforce_safe_logging` was already called. - #[error("Cannot enable unsafe logging: safe logging is already enforced.")] + #[error("Cannot enable unsafe logging: safe logging is already enforced")] AlreadySafe, /// Tried to call [`enforce_safe_logging`](crate::enforce_safe_logging), but /// `disable_safe_logging` was already called. - #[error("Cannot enforce safe logging: unsafe logging is already enabled.")] + #[error("Cannot enforce safe logging: unsafe logging is already enabled")] AlreadyUnsafe, /// One of the `enable`/`disable` functions was called so many times that we @@ -19,6 +19,6 @@ pub enum Error { /// /// This should generally be impossible, and probably represents an error in /// your program. - #[error("Too many calls to enforce or disable safe logging.")] + #[error("Too many calls to enforce or disable safe logging")] Overflow, }