This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch polish-buf
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/polish-buf by this push:
new 0ae6d7daf Remove incorrect comments
0ae6d7daf is described below
commit 0ae6d7dafc5578393f7c0c9413f8a4c1cef6c41e
Author: Xuanwo <[email protected]>
AuthorDate: Tue Sep 12 13:31:25 2023 +0800
Remove incorrect comments
Signed-off-by: Xuanwo <[email protected]>
---
core/src/raw/oio/buf.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/src/raw/oio/buf.rs b/core/src/raw/oio/buf.rs
index 0da98e785..50f3c8911 100644
--- a/core/src/raw/oio/buf.rs
+++ b/core/src/raw/oio/buf.rs
@@ -58,8 +58,7 @@ pub trait WriteBuf: Send + Sync {
///
/// # Notes
///
- /// This function should never panic. Once the end of the buffer is
reached, i.e.,
- /// Buf::remaining returns 0, calls to vectored_chunk() should return an
empty `vec![]`.
+ /// This function should never panic.
fn vectored_chunk(&self) -> Vec<IoSlice>;
/// Returns a bytes starting at the current position and of length between
0 and