This is an automated email from the ASF dual-hosted git repository. meteorgan pushed a commit to branch buffer-doc in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 98d176c6ca2f482b345c0d6d3169898ee4555804 Author: meteorgan <[email protected]> AuthorDate: Thu Oct 30 22:37:11 2025 +0800 doc(core/types): add some comments for Buffer --- core/src/types/buffer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/types/buffer.rs b/core/src/types/buffer.rs index 91d472af9..26c4110fa 100644 --- a/core/src/types/buffer.rs +++ b/core/src/types/buffer.rs @@ -120,6 +120,8 @@ pub struct Buffer(Inner); #[derive(Clone)] enum Inner { Contiguous(Bytes), + // the logic view of the buffer starts at `parts[idx][offset]` and spans `size` bytes + // across subsequent `parts` NonContiguous { parts: Arc<[Bytes]>, size: usize,
