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

xuanwo pushed a commit to branch add-nextcloud-test-for-webdav
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/add-nextcloud-test-for-webdav 
by this push:
     new 9ad8a351a Make clippy happy
9ad8a351a is described below

commit 9ad8a351a603efedc3d5df42fc8dba7a9cb51f31
Author: Xuanwo <[email protected]>
AuthorDate: Thu Jul 13 23:35:52 2023 +0800

    Make clippy happy
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/raw/oio/read.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/src/raw/oio/read.rs b/core/src/raw/oio/read.rs
index 299875818..9b18b31e0 100644
--- a/core/src/raw/oio/read.rs
+++ b/core/src/raw/oio/read.rs
@@ -192,7 +192,7 @@ pub trait ReadExt: Read {
         ReadFuture {
             reader: self,
             buf,
-            _pin: PhantomPinned::default(),
+            _pin: PhantomPinned,
         }
     }
 
@@ -201,7 +201,7 @@ pub trait ReadExt: Read {
         SeekFuture {
             reader: self,
             pos,
-            _pin: PhantomPinned::default(),
+            _pin: PhantomPinned,
         }
     }
 
@@ -209,7 +209,7 @@ pub trait ReadExt: Read {
     fn next(&mut self) -> NextFuture<'_, Self> {
         NextFuture {
             reader: self,
-            _pin: PhantomPinned::default(),
+            _pin: PhantomPinned,
         }
     }
 }

Reply via email to