From a5f679014557e0fd610a6578700e1b9de8bef775 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 20 Feb 2024 21:23:55 +1000 Subject: [PATCH] Fix spelling in Rust files --- core/src/raw/adapters/typed_kv/api.rs | 4 ++-- core/src/services/sqlite/backend.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/raw/adapters/typed_kv/api.rs b/core/src/raw/adapters/typed_kv/api.rs index 7a1b929a0eff..f1990d5cc70b 100644 --- a/core/src/raw/adapters/typed_kv/api.rs +++ b/core/src/raw/adapters/typed_kv/api.rs @@ -36,7 +36,7 @@ use crate::Scheme; /// # Notes /// /// `typed_kv::Adapter` is the typed version of `kv::Adapter`. It's more -/// efficient if the uderlying kv service can store data with its type. For +/// efficient if the underlying kv service can store data with its type. For /// example, we can store `Bytes` along with it's metadata so that we don't /// need to serialize/deserialize it when we get it from the service. /// @@ -96,7 +96,7 @@ pub trait Adapter: Send + Sync + Debug + Unpin + 'static { pub struct Value { /// Metadata of this value. pub metadata: Metadata, - /// The correbonding content of this value. + /// The corresponding content of this value. pub value: Bytes, } diff --git a/core/src/services/sqlite/backend.rs b/core/src/services/sqlite/backend.rs index 5e83651b1742..a89eeef9a280 100644 --- a/core/src/services/sqlite/backend.rs +++ b/core/src/services/sqlite/backend.rs @@ -87,7 +87,7 @@ impl Debug for SqliteBuilder { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { let mut ds = f.debug_struct("SqliteBuilder"); - ds.field("cofig", &self.config); + ds.field("config", &self.config); ds.finish() } }