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
+1 -1
View File
@@ -4426,7 +4426,7 @@
/// ```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"]