From 014893e1ec34a627354d31749637977bff7d3120 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Thu, 22 Feb 2024 17:08:29 +1000 Subject: [PATCH] docs: remove unneeded duplicate words from Rust files (#4243) --- core/src/raw/adapters/mod.rs | 2 +- core/src/raw/adapters/typed_kv/backend.rs | 2 +- core/src/types/metadata.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/raw/adapters/mod.rs b/core/src/raw/adapters/mod.rs index 73dc67bf688..c5a63134640 100644 --- a/core/src/raw/adapters/mod.rs +++ b/core/src/raw/adapters/mod.rs @@ -44,7 +44,7 @@ //! # Available Adapters //! //! - [`kv::Adapter`]: Adapter for Key Value Services like `redis`. -//! - [`typed_kv::Adapter`]: Adapter key key value services that in-memory. +//! - [`typed_kv::Adapter`]: Adapter key value services that in-memory. pub mod kv; pub mod typed_kv; diff --git a/core/src/raw/adapters/typed_kv/backend.rs b/core/src/raw/adapters/typed_kv/backend.rs index 357f9b55f2e..8f56a061168 100644 --- a/core/src/raw/adapters/typed_kv/backend.rs +++ b/core/src/raw/adapters/typed_kv/backend.rs @@ -32,7 +32,7 @@ use crate::raw::oio::HierarchyLister; use crate::raw::*; use crate::*; -/// The typed kv backend which implements Accessor for for typed kv adapter. +/// The typed kv backend which implements Accessor for typed kv adapter. #[derive(Debug, Clone)] pub struct Backend { kv: Arc, diff --git a/core/src/types/metadata.rs b/core/src/types/metadata.rs index 5514d0dc10c..0ba47b78b12 100644 --- a/core/src/types/metadata.rs +++ b/core/src/types/metadata.rs @@ -547,7 +547,7 @@ flags! { ContentType, /// Key for etag. Etag, - /// Key for last last modified. + /// Key for last modified. LastModified, /// Key for version. Version,