This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 014893e1ec docs: remove unneeded duplicate words from Rust files 
(#4243)
014893e1ec is described below

commit 014893e1ec34a627354d31749637977bff7d3120
Author: John Bampton <[email protected]>
AuthorDate: Thu Feb 22 17:08:29 2024 +1000

    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 73dc67bf68..c5a6313464 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 357f9b55f2..8f56a06116 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<S: Adapter> {
     kv: Arc<S>,
diff --git a/core/src/types/metadata.rs b/core/src/types/metadata.rs
index 5514d0dc10..0ba47b78b1 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,

Reply via email to