about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPrabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com>2020-08-15 22:11:09 +0530
committerPrabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com>2020-08-15 22:11:09 +0530
commitc5849ae3e0631698014f4d9bde52b54b36cbb0cc (patch)
tree4e45f92b2074137a3dcb97630ec921835d210857
parentf615b6d33831a0c114b02e13fe0e01a79cd4a750 (diff)
downloadrust-c5849ae3e0631698014f4d9bde52b54b36cbb0cc.tar.gz
rust-c5849ae3e0631698014f4d9bde52b54b36cbb0cc.zip
inline linking
-rw-r--r--library/std/src/sys/vxworks/ext/fs.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/library/std/src/sys/vxworks/ext/fs.rs b/library/std/src/sys/vxworks/ext/fs.rs
index 340b8fd2fe1..4ff86daf0dd 100644
--- a/library/std/src/sys/vxworks/ext/fs.rs
+++ b/library/std/src/sys/vxworks/ext/fs.rs
@@ -7,9 +7,7 @@ use crate::sys;
 use crate::sys::platform::fs::MetadataExt as UnixMetadataExt;
 use crate::sys_common::{AsInner, AsInnerMut, FromInner};
 
-/// Unix-specific extensions to [`File`].
-///
-/// [`File`]: fs::File
+/// Unix-specific extensions to [`fs::File`].
 #[stable(feature = "file_offset", since = "1.15.0")]
 pub trait FileExt {
     /// Reads a number of bytes starting from a given offset.
@@ -644,12 +642,10 @@ impl MetadataExt for fs::Metadata {
     }
 }
 
-/// Unix-specific extensions for [`FileType`].
+/// Unix-specific extensions for [`fs::FileType`].
 ///
 /// Adds support for special Unix file types such as block/character devices,
 /// pipes, and sockets.
-///
-/// [`FileType`]: fs::FileType
 #[stable(feature = "file_type_ext", since = "1.5.0")]
 pub trait FileTypeExt {
     /// Returns whether this file type is a block device.