@@ -1467,7 +1467,7 @@ impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf {
14671467
14681468#[ stable( feature = "rust1" , since = "1.0.0" ) ]
14691469impl From < OsString > for PathBuf {
1470- /// Converts a `OsString` into a `PathBuf`
1470+ /// Converts an [ `OsString`] into a [ `PathBuf`]
14711471 ///
14721472 /// This conversion does not allocate or copy memory.
14731473 #[ inline]
@@ -1478,7 +1478,7 @@ impl From<OsString> for PathBuf {
14781478
14791479#[ stable( feature = "from_path_buf_for_os_string" , since = "1.14.0" ) ]
14801480impl From < PathBuf > for OsString {
1481- /// Converts a `PathBuf` into a `OsString`
1481+ /// Converts a [ `PathBuf`] into an [ `OsString`]
14821482 ///
14831483 /// This conversion does not allocate or copy memory.
14841484 #[ inline]
@@ -1489,7 +1489,7 @@ impl From<PathBuf> for OsString {
14891489
14901490#[ stable( feature = "rust1" , since = "1.0.0" ) ]
14911491impl From < String > for PathBuf {
1492- /// Converts a `String` into a `PathBuf`
1492+ /// Converts a [ `String`] into a [ `PathBuf`]
14931493 ///
14941494 /// This conversion does not allocate or copy memory.
14951495 #[ inline]
@@ -1595,7 +1595,7 @@ impl<'a> From<Cow<'a, Path>> for PathBuf {
15951595
15961596#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
15971597impl From < PathBuf > for Arc < Path > {
1598- /// Converts a `PathBuf` into an `Arc` by moving the `PathBuf` data into a new `Arc` buffer.
1598+ /// Converts a [ `PathBuf`] into an [ `Arc`] by moving the [ `PathBuf`] data into a new [ `Arc`] buffer.
15991599 #[ inline]
16001600 fn from ( s : PathBuf ) -> Arc < Path > {
16011601 let arc: Arc < OsStr > = Arc :: from ( s. into_os_string ( ) ) ;
@@ -1605,7 +1605,7 @@ impl From<PathBuf> for Arc<Path> {
16051605
16061606#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
16071607impl From < & Path > for Arc < Path > {
1608- /// Converts a `Path` into an `Arc` by copying the `Path` data into a new `Arc` buffer.
1608+ /// Converts a [ `Path`] into an [ `Arc`] by copying the [ `Path`] data into a new [ `Arc`] buffer.
16091609 #[ inline]
16101610 fn from ( s : & Path ) -> Arc < Path > {
16111611 let arc: Arc < OsStr > = Arc :: from ( s. as_os_str ( ) ) ;
@@ -1615,7 +1615,7 @@ impl From<&Path> for Arc<Path> {
16151615
16161616#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
16171617impl From < PathBuf > for Rc < Path > {
1618- /// Converts a `PathBuf` into an `Rc` by moving the `PathBuf` data into a new `Rc` buffer.
1618+ /// Converts a [ `PathBuf`] into an [ `Rc`] by moving the [ `PathBuf`] data into a new `Rc` buffer.
16191619 #[ inline]
16201620 fn from ( s : PathBuf ) -> Rc < Path > {
16211621 let rc: Rc < OsStr > = Rc :: from ( s. into_os_string ( ) ) ;
@@ -1625,7 +1625,7 @@ impl From<PathBuf> for Rc<Path> {
16251625
16261626#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
16271627impl From < & Path > for Rc < Path > {
1628- /// Converts a `Path` into an `Rc` by copying the `Path` data into a new `Rc` buffer.
1628+ /// Converts a [ `Path`] into an [ `Rc`] by copying the [ `Path`] data into a new `Rc` buffer.
16291629 #[ inline]
16301630 fn from ( s : & Path ) -> Rc < Path > {
16311631 let rc: Rc < OsStr > = Rc :: from ( s. as_os_str ( ) ) ;
0 commit comments