From 4d9189454fc2a7eee028be001361c9db0849fd6e Mon Sep 17 00:00:00 2001 From: "hippolyte.barraud" Date: Fri, 22 Oct 2021 02:06:49 +0200 Subject: [PATCH] rename `get_buffer` to `poll_get_buffer` for consistency Function returning `std::task::Poll` enums are usually called `poll_*` to tell them apart from their async variants. --- glommio/src/io/dma_file_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glommio/src/io/dma_file_stream.rs b/glommio/src/io/dma_file_stream.rs index 69ba6dc46..21521336a 100644 --- a/glommio/src/io/dma_file_stream.rs +++ b/glommio/src/io/dma_file_stream.rs @@ -631,7 +631,7 @@ impl DmaStreamReader { Poll::Ready(Ok(x)) } - fn get_buffer( + fn poll_get_buffer( &mut self, cx: &mut Context<'_>, len: u64,