docs: make unbuffered_bytes docs more consistent (#15019)

changelog: None
This commit is contained in:
dswij 2025-06-14 18:05:34 +00:00 committed by GitHub
commit 97815d0cda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4426,7 +4426,7 @@ declare_clippy_lint! {
/// ```no_run
/// use std::io::{BufReader, Read};
/// use std::fs::File;
/// let file = BufReader::new(std::fs::File::open("./bytes.txt").unwrap());
/// let file = BufReader::new(File::open("./bytes.txt").unwrap());
/// file.bytes();
/// ```
#[clippy::version = "1.87.0"]