From a5a86bedb25e4f65376c73e6925a16e928931cf6 Mon Sep 17 00:00:00 2001 From: Yuchen Liang Date: Fri, 18 Oct 2024 18:22:02 +0000 Subject: [PATCH] fix clippy Signed-off-by: Yuchen Liang --- .../virtual_file/owned_buffers_io/aligned_buffer/buffer_mut.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/virtual_file/owned_buffers_io/aligned_buffer/buffer_mut.rs b/pageserver/src/virtual_file/owned_buffers_io/aligned_buffer/buffer_mut.rs index 00dbf28bd9..b3675d1aea 100644 --- a/pageserver/src/virtual_file/owned_buffers_io/aligned_buffer/buffer_mut.rs +++ b/pageserver/src/virtual_file/owned_buffers_io/aligned_buffer/buffer_mut.rs @@ -211,7 +211,7 @@ fn panic_advance(idx: usize, len: usize) -> ! { /// Safety: [`AlignedBufferMut`] has exclusive ownership of the io buffer, /// and the underlying pointer remains stable while io-uring is owning the buffer. /// The tokio-epoll-uring crate itself will not resize the buffer and will respect -/// [`IoBuf::bytes_total`]. +/// [`tokio_epoll_uring::IoBuf::bytes_total`]. unsafe impl tokio_epoll_uring::IoBuf for AlignedBufferMut { fn stable_ptr(&self) -> *const u8 { self.as_ptr()