From 5182359813f1c5a807b5940274cccc6bc42a7a51 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 4 May 2022 12:41:34 +0100 Subject: [PATCH] Improve doc comments on error variants --- lib/src/err/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/err/mod.rs b/lib/src/err/mod.rs index d0e5c5f0..c2521599 100644 --- a/lib/src/err/mod.rs +++ b/lib/src/err/mod.rs @@ -227,11 +227,11 @@ pub enum Error { #[error("Serde error: {0}")] Serde(#[from] SerdeError), - /// Represents an underlying error from the EchoDB instance + /// Represents an error when encoding a key-value entry #[error("Key encoding error: {0}")] Encode(#[from] EncodeError), - /// Represents an underlying error from the EchoDB instance + /// Represents an error when decoding a key-value entry #[error("Key decoding error: {0}")] Decode(#[from] DecodeError),