Skip to content

Commit

Permalink
docs: Fix spelling in Rust files (#4227)
Browse files Browse the repository at this point in the history
Fix spelling in Rust files
  • Loading branch information
jbampton authored Feb 20, 2024
1 parent a71f972 commit c9d555d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/raw/adapters/typed_kv/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/services/sqlite/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit c9d555d

Please sign in to comment.