mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
docs: make unbuffered_bytes docs more consistent (#15019)
changelog: None
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user