Rollup merge of #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
This commit is contained in:
commit
a4bf7224cb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user