Skip to content

Commit 76e82d6

Browse files
committed
Link to sync_all
1 parent b6ebe1b commit 76e82d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/fs.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::time::SystemTime;
2323
///
2424
/// Files are automatically closed when they go out of scope. Errors detected
2525
/// on closing are ignored by the implementation of `Drop`. Use the method
26-
/// `sync_all` if these errors must be manually handled.
26+
/// [`sync_all`] if these errors must be manually handled.
2727
///
2828
/// # Examples
2929
///
@@ -86,6 +86,7 @@ use crate::time::SystemTime;
8686
/// [`Read`]: ../io/trait.Read.html
8787
/// [`Write`]: ../io/trait.Write.html
8888
/// [`BufReader<R>`]: ../io/struct.BufReader.html
89+
/// [`sync_all`]: struct.File.html#method.sync_all
8990
#[stable(feature = "rust1", since = "1.0.0")]
9091
pub struct File {
9192
inner: fs_imp::File,

0 commit comments

Comments
 (0)