Skip to content

Commit 982abc4

Browse files
authored
docs: make unbuffered_bytes docs more consistent
1 parent 9e7782b commit 982abc4

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4426,7 +4426,7 @@ declare_clippy_lint! {
44264426
/// ```no_run
44274427
/// use std::io::{BufReader, Read};
44284428
/// use std::fs::File;
4429-
/// let file = BufReader::new(std::fs::File::open("./bytes.txt").unwrap());
4429+
/// let file = BufReader::new(File::open("./bytes.txt").unwrap());
44304430
/// file.bytes();
44314431
/// ```
44324432
#[clippy::version = "1.87.0"]

0 commit comments

Comments
 (0)