You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by ma...@apache.org on 2023/11/01 11:50:42 UTC
(incubator-opendal) 04/04: Update comment
This is an automated email from the ASF dual-hosted git repository.
manjusaka pushed a commit to branch manjusaka/python-support-copy
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit ccf073a8b5c146ca9faac545771b7edfa580670c
Author: Manjusaka <me...@manjusaka.me>
AuthorDate: Wed Nov 1 19:33:35 2023 +0800
Update comment
Signed-off-by: Manjusaka <me...@manjusaka.me>
---
bindings/python/src/asyncio.rs | 3 +--
bindings/python/src/lib.rs | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/bindings/python/src/asyncio.rs b/bindings/python/src/asyncio.rs
index a97285851..2ebd99dd2 100644
--- a/bindings/python/src/asyncio.rs
+++ b/bindings/python/src/asyncio.rs
@@ -139,8 +139,7 @@ impl AsyncOperator {
})
}
- /// Copy from `src` to `dst`.
-
+ /// Copy source to target.``
pub fn copy<'p>(
&'p self,
py: Python<'p>,
diff --git a/bindings/python/src/lib.rs b/bindings/python/src/lib.rs
index 4106ec492..8271c483a 100644
--- a/bindings/python/src/lib.rs
+++ b/bindings/python/src/lib.rs
@@ -188,7 +188,7 @@ impl Operator {
self.0.stat(path).map_err(format_pyerr).map(Metadata)
}
- /// Copy src to dst.
+ /// Copy source to target.
pub fn copy(&self, source: &str, target: &str) -> PyResult<()> {
self.0.copy(source, target).map_err(format_pyerr)
}