@@ -1781,15 +1781,19 @@ impl Path {
1781
1781
/// This function will traverse symbolic links to query information about the
1782
1782
/// destination file.
1783
1783
///
1784
- /// This is an alias to `fs::metadata`.
1784
+ /// This is an alias to [`fs::metadata`].
1785
+ ///
1786
+ /// [`fs::metadata`]: ../fs/fn.metadata.html
1785
1787
#[ stable( feature = "path_ext" , since = "1.5.0" ) ]
1786
1788
pub fn metadata ( & self ) -> io:: Result < fs:: Metadata > {
1787
1789
fs:: metadata ( self )
1788
1790
}
1789
1791
1790
1792
/// Query the metadata about a file without following symlinks.
1791
1793
///
1792
- /// This is an alias to `fs::symlink_metadata`.
1794
+ /// This is an alias to [`fs::symlink_metadata`].
1795
+ ///
1796
+ /// [`fs::symlink_metadata`]: ../fs/fn.symlink_metadata.html
1793
1797
#[ stable( feature = "path_ext" , since = "1.5.0" ) ]
1794
1798
pub fn symlink_metadata ( & self ) -> io:: Result < fs:: Metadata > {
1795
1799
fs:: symlink_metadata ( self )
@@ -1798,15 +1802,19 @@ impl Path {
1798
1802
/// Returns the canonical form of the path with all intermediate components
1799
1803
/// normalized and symbolic links resolved.
1800
1804
///
1801
- /// This is an alias to `fs::canonicalize`.
1805
+ /// This is an alias to [`fs::canonicalize`].
1806
+ ///
1807
+ /// [`fs::canonicalize`]: ../fs/fn.canonicalize.html
1802
1808
#[ stable( feature = "path_ext" , since = "1.5.0" ) ]
1803
1809
pub fn canonicalize ( & self ) -> io:: Result < PathBuf > {
1804
1810
fs:: canonicalize ( self )
1805
1811
}
1806
1812
1807
1813
/// Reads a symbolic link, returning the file that the link points to.
1808
1814
///
1809
- /// This is an alias to `fs::read_link`.
1815
+ /// This is an alias to [`fs::read_link`].
1816
+ ///
1817
+ /// [`fs::read_link`]: ../fs/fn.read_link.html
1810
1818
#[ stable( feature = "path_ext" , since = "1.5.0" ) ]
1811
1819
pub fn read_link ( & self ) -> io:: Result < PathBuf > {
1812
1820
fs:: read_link ( self )
@@ -1817,7 +1825,9 @@ impl Path {
1817
1825
/// The iterator will yield instances of `io::Result<DirEntry>`. New errors may
1818
1826
/// be encountered after an iterator is initially constructed.
1819
1827
///
1820
- /// This is an alias to `fs::read_dir`.
1828
+ /// This is an alias to [`fs::read_dir`].
1829
+ ///
1830
+ /// [`fs::read_dir`]: ../fs/fn.read_dir.html
1821
1831
#[ stable( feature = "path_ext" , since = "1.5.0" ) ]
1822
1832
pub fn read_dir ( & self ) -> io:: Result < fs:: ReadDir > {
1823
1833
fs:: read_dir ( self )
0 commit comments