You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/08/24 03:25:05 UTC
[incubator-opendal] branch bench-exact-buf updated: Fix build
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch bench-exact-buf
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/bench-exact-buf by this push:
new ee024162c Fix build
ee024162c is described below
commit ee024162c6aeb912722e66cdae04f25d91c58890
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Thu Aug 24 11:24:54 2023 +0800
Fix build
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/src/raw/oio/write/exact_buf_write.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/raw/oio/write/exact_buf_write.rs b/core/src/raw/oio/write/exact_buf_write.rs
index 2663ab16b..8561c1a4a 100644
--- a/core/src/raw/oio/write/exact_buf_write.rs
+++ b/core/src/raw/oio/write/exact_buf_write.rs
@@ -92,7 +92,7 @@ impl<W: oio::Write> oio::Write for ExactBufWriter<W> {
/// # TODO
///
/// We know every stream size, we can collect them into a buffer without chain them every time.
- async fn sink(&mut self, size: u64, mut s: Streamer) -> Result<()> {
+ async fn sink(&mut self, _: u64, mut s: Streamer) -> Result<()> {
if self.buffer.len() >= self.buffer_size {
let mut buf = self.buffer.clone();
let to_write = buf.split_to(self.buffer_size);