From 53ade7d611bfcbf6a5243e6ded0be05bcc2e8125 Mon Sep 17 00:00:00 2001 From: Rohan Santhosh Kumar <181558744+Rohan5commit@users.noreply.github.com> Date: Tue, 28 Apr 2026 10:30:17 +0800 Subject: [PATCH] docs: fix the FileBuffer::clear doc comment wording --- src/diskio/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diskio/mod.rs b/src/diskio/mod.rs index f2400ed118..0d6dc93a20 100644 --- a/src/diskio/mod.rs +++ b/src/diskio/mod.rs @@ -80,7 +80,7 @@ pub(crate) enum FileBuffer { } impl FileBuffer { - /// All the buffers space to be re-used when the last reference to it is dropped. + /// Allows the buffer's space to be reused when the last reference to it is dropped. pub(crate) fn clear(&mut self) { if let FileBuffer::Threaded(contents) = self { contents.clear()