From a23417eab1ac7bd672e8b9db11ed5d47c14b18a6 Mon Sep 17 00:00:00 2001 From: Hugh Baxter Date: Mon, 8 Apr 2024 17:21:04 +0100 Subject: [PATCH] Correct typo in DiskCacheError enum variants --- CHANGELOG.md | 1 + src/stores/disk.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50721f8..f910dce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## Changed - [Breaking] `type` attribute is now `ty` - Upgrade to syn2 +- Corrected a typo in DiskCacheError (de)serialization variants ## Removed ## [0.49.3] diff --git a/src/stores/disk.rs b/src/stores/disk.rs index 5712572..3fb00df 100644 --- a/src/stores/disk.rs +++ b/src/stores/disk.rs @@ -147,9 +147,9 @@ pub enum DiskCacheError { #[error("Storage error")] StorageError(#[from] sled::Error), #[error("Error deserializing cached value")] - CacheDeserializtionError(#[from] rmp_serde::decode::Error), + CacheDeserializationError(#[from] rmp_serde::decode::Error), #[error("Error serializing cached value")] - CacheSerializtionError(#[from] rmp_serde::encode::Error), + CacheSerializationError(#[from] rmp_serde::encode::Error), } #[derive(serde::Serialize, serde::Deserialize)]