This commit is contained in:
Ada Alakbarova 2025-04-09 11:21:37 +02:00 committed by GitHub
parent 5c079b9af6
commit 5a8ff74ab0
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ impl Writer for SliceWriter<'_> {
}
}
/// A writer that counts how many bytes were written. This is useful for e.g. pre-allocating buffers bfeore writing to them.
/// A writer that counts how many bytes were written. This is useful for e.g. pre-allocating buffers before writing to them.
#[derive(Default)]
pub struct SizeWriter {
/// the amount of bytes that were written so far