@@ -1467,7 +1467,7 @@ impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf {
1467
1467
1468
1468
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1469
1469
impl From < OsString > for PathBuf {
1470
- /// Converts a `OsString` into a `PathBuf`
1470
+ /// Converts a [ `OsString`] into a [ `PathBuf`]
1471
1471
///
1472
1472
/// This conversion does not allocate or copy memory.
1473
1473
#[ inline]
@@ -1478,7 +1478,7 @@ impl From<OsString> for PathBuf {
1478
1478
1479
1479
#[ stable( feature = "from_path_buf_for_os_string" , since = "1.14.0" ) ]
1480
1480
impl From < PathBuf > for OsString {
1481
- /// Converts a `PathBuf` into a `OsString`
1481
+ /// Converts a [ `PathBuf`] into a [ `OsString`]
1482
1482
///
1483
1483
/// This conversion does not allocate or copy memory.
1484
1484
#[ inline]
@@ -1489,7 +1489,7 @@ impl From<PathBuf> for OsString {
1489
1489
1490
1490
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1491
1491
impl From < String > for PathBuf {
1492
- /// Converts a `String` into a `PathBuf`
1492
+ /// Converts a [ `String`] into a [ `PathBuf`]
1493
1493
///
1494
1494
/// This conversion does not allocate or copy memory.
1495
1495
#[ inline]
@@ -1595,7 +1595,7 @@ impl<'a> From<Cow<'a, Path>> for PathBuf {
1595
1595
1596
1596
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1597
1597
impl 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.
1599
1599
#[ inline]
1600
1600
fn from ( s : PathBuf ) -> Arc < Path > {
1601
1601
let arc: Arc < OsStr > = Arc :: from ( s. into_os_string ( ) ) ;
@@ -1605,7 +1605,7 @@ impl From<PathBuf> for Arc<Path> {
1605
1605
1606
1606
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1607
1607
impl 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.
1609
1609
#[ inline]
1610
1610
fn from ( s : & Path ) -> Arc < Path > {
1611
1611
let arc: Arc < OsStr > = Arc :: from ( s. as_os_str ( ) ) ;
@@ -1615,7 +1615,7 @@ impl From<&Path> for Arc<Path> {
1615
1615
1616
1616
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1617
1617
impl 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.
1619
1619
#[ inline]
1620
1620
fn from ( s : PathBuf ) -> Rc < Path > {
1621
1621
let rc: Rc < OsStr > = Rc :: from ( s. into_os_string ( ) ) ;
@@ -1625,7 +1625,7 @@ impl From<PathBuf> for Rc<Path> {
1625
1625
1626
1626
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1627
1627
impl 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.
1629
1629
#[ inline]
1630
1630
fn from ( s : & Path ) -> Rc < Path > {
1631
1631
let rc: Rc < OsStr > = Rc :: from ( s. as_os_str ( ) ) ;
0 commit comments