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 ca51f047e9e21167f07786cec049d6efcdfac427
Author: Xuanwo <[email protected]>
AuthorDate: Thu Oct 26 17:05:59 2023 +0800

    Cleanup
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/raw/oio/buf/adaptive.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/raw/oio/buf/adaptive.rs b/core/src/raw/oio/buf/adaptive.rs
index eb5b72b04..63d6cdb09 100644
--- a/core/src/raw/oio/buf/adaptive.rs
+++ b/core/src/raw/oio/buf/adaptive.rs
@@ -58,7 +58,7 @@ impl AdaptiveBuf {
     }
 
     /// Returning the initialized part of the buffer.
-    pub fn initialized_mut<'a>(&'a mut self) -> ReadBuf<'a> {
+    pub fn initialized_mut(&mut self) -> ReadBuf {
         let dst = self.buffer.spare_capacity_mut();
         let length = dst.len();
         let mut buf = ReadBuf::uninit(dst);

Reply via email to