From df22c387c71ffe66a8a9b2ce2e3cce9ae5926e2c 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 2ab20f092..e363e2d28 100644 --- a/glommio/src/io/dma_file_stream.rs +++ b/glommio/src/io/dma_file_stream.rs @@ -626,7 +626,7 @@ impl DmaStreamReader { Poll::Ready(Ok(x)) } - fn get_buffer( + fn poll_get_buffer( &mut self, cx: &mut Context<'_>, len: u64,