Skip to content

Commit

Permalink
Unrolled build for rust-lang#123086
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rust-timer committed Mar 26, 2024
2 parents 536606b + a241ffc commit bf2c2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ use crate::time::SystemTime;
/// have been opened for asynchronous I/O (e.g. by using `FILE_FLAG_OVERLAPPED`).
///
/// [`BufReader`]: io::BufReader
/// [`BufWriter`]: io::BufReader
/// [`BufWriter`]: io::BufWriter
/// [`sync_all`]: File::sync_all
/// [`write`]: File::write
/// [`read`]: File::read
Expand Down

0 comments on commit bf2c2a3

Please sign in to comment.