You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/10/26 14:39:46 UTC
[incubator-opendal] 17/21: Fix typo
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 <gi...@xuanwo.io>
AuthorDate: Thu Oct 26 21:24:48 2023 +0800
Fix typo
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
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());
}