mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
3bf51d00ab
`bufreader::Buffer`: Remove leftover note about `initialized` field Just a boring little doc fix! : v) https://github.com/rust-lang/rust/pull/150129 reworked the `initialized` field to be a `bool` instead of a `usize`. And then https://github.com/rust-lang/rust/pull/155314 reworked this field's comment (among other things). But, there's still a leftover note in the comment, which no longer makes sense: ``Note that while this often the same as `filled`, it doesn't need to be.`` This is referencing that back when `initialized` was a `usize`, it was common for it to have the same value as `filled`. ---- Fun fact: there's a typo in the note too! It's missing an "is" before or after "often".