diff --git a/tokio/src/fs/file.rs b/tokio/src/fs/file.rs index 2be71c72c48..fee6187a975 100644 --- a/tokio/src/fs/file.rs +++ b/tokio/src/fs/file.rs @@ -195,9 +195,9 @@ impl File { Ok(File::from_std(std_file)) } - /// Returns a new OpenOptions object. + /// Returns a new [`OpenOptions`] object. /// - /// This function returns a new OpenOptions object that you can use to + /// This function returns a new `OpenOptions` object that you can use to /// open or create a file with specific options if `open()` or `create()` /// are not appropriate. ///