This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch rename_to_copy
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/rename_to_copy by this push:
new 6765b1573 rename api
6765b1573 is described below
commit 6765b15731434a148cb3bfab037d437a9a2e8470
Author: Xuanwo <[email protected]>
AuthorDate: Wed Sep 6 12:44:39 2023 +0800
rename api
Signed-off-by: Xuanwo <[email protected]>
---
core/src/raw/oio/write/api.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/raw/oio/write/api.rs b/core/src/raw/oio/write/api.rs
index e70a93f1e..952c073ae 100644
--- a/core/src/raw/oio/write/api.rs
+++ b/core/src/raw/oio/write/api.rs
@@ -96,7 +96,7 @@ pub trait Write: Unpin + Send + Sync {
///
/// It's possible that `n < size`, caller should pass the remaining bytes
/// repeatedly until all bytes has been written.
- async fn copy_from(&mut self, size: u64, s: oio::Reader) -> Result<u64>;
+ async fn copy_from(&mut self, size: u64, src: oio::Reader) -> Result<u64>;
/// Abort the pending writer.
async fn abort(&mut self) -> Result<()>;