Skip to content

Commit bf2c2a3

Browse files
authored
Unrolled build for rust-lang#123086
Rollup merge of rust-lang#123086 - ding-young:fix-ref-to-BufWriter, r=the8472 Fix doc link to BufWriter in std::fs::File documentation It seems that doc link to `BufWriter` in `std::fs::File` doc leads to `BufReader`, not `BufWriter`. See https://doc.rust-lang.org/std/fs/struct.File.html
2 parents 536606b + a241ffc commit bf2c2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ use crate::time::SystemTime;
9797
/// have been opened for asynchronous I/O (e.g. by using `FILE_FLAG_OVERLAPPED`).
9898
///
9999
/// [`BufReader`]: io::BufReader
100-
/// [`BufWriter`]: io::BufReader
100+
/// [`BufWriter`]: io::BufWriter
101101
/// [`sync_all`]: File::sync_all
102102
/// [`write`]: File::write
103103
/// [`read`]: File::read

0 commit comments

Comments
 (0)