docs: make unbuffered_bytes docs more consistent (#15019)
changelog: None
This commit is contained in:
commit
97815d0cda
1 changed files with 1 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue