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

xuanwo pushed a commit to branch lazy-reader
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit f91d61e60c3598f99937b5d35da4989db740067e
Author: Xuanwo <[email protected]>
AuthorDate: Thu Oct 26 21:24:48 2023 +0800

    Fix typo
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/raw/oio/read/api.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/raw/oio/read/api.rs b/core/src/raw/oio/read/api.rs
index 579a4858d..3fd1459da 100644
--- a/core/src/raw/oio/read/api.rs
+++ b/core/src/raw/oio/read/api.rs
@@ -295,7 +295,7 @@ where
                 // # Safety
                 //
                 // We make sure that the length of buf is maintained correctly.
-                #[deny(clippy::uninit_vec)]
+                #[allow(clippy::uninit_vec)]
                 unsafe {
                     g.buf.set_len(g.buf.capacity());
                 }
@@ -384,7 +384,7 @@ pub trait BlockingRead: Send + Sync {
                 // # Safety
                 //
                 // We make sure that the length of buf is maintained correctly.
-                #[deny(clippy::uninit_vec)]
+                #[allow(clippy::uninit_vec)]
                 unsafe {
                     g.buf.set_len(g.buf.capacity());
                 }

Reply via email to