Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/diskio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
/// All the buffers space to be reused when the last reference to it is dropped.
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doc comment reads a bit ungrammatically (“All the buffers space…”). Consider rephrasing to something like “All buffer space can be reused when the last reference is dropped” for clarity.

Suggested change
/// All the buffers space to be reused when the last reference to it is dropped.
/// All buffer space can be reused when the last reference is dropped.

Copilot uses AI. Check for mistakes.
pub(crate) fn clear(&mut self) {
if let FileBuffer::Threaded(contents) = self {
contents.clear()
Expand Down
Loading