Skip to content

Commit 53ade7d

Browse files
committed
docs: fix the FileBuffer::clear doc comment wording
1 parent 4fed1c8 commit 53ade7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/diskio/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub(crate) enum FileBuffer {
8080
}
8181

8282
impl FileBuffer {
83-
/// All the buffers space to be re-used when the last reference to it is dropped.
83+
/// Allows the buffer's space to be reused when the last reference to it is dropped.
8484
pub(crate) fn clear(&mut self) {
8585
if let FileBuffer::Threaded(contents) = self {
8686
contents.clear()

0 commit comments

Comments
 (0)