@@ -1766,7 +1766,8 @@ impl<'a> From<Cow<'a, Path>> for PathBuf {
1766
1766
1767
1767
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1768
1768
impl From < PathBuf > for Arc < Path > {
1769
- /// Converts a [`PathBuf`] into an [`Arc`] by moving the [`PathBuf`] data into a new [`Arc`] buffer.
1769
+ /// Converts a [`PathBuf`] into an <code>[Arc]<[Path]></code> by moving the [`PathBuf`] data
1770
+ /// into a new [`Arc`] buffer.
1770
1771
#[ inline]
1771
1772
fn from ( s : PathBuf ) -> Arc < Path > {
1772
1773
let arc: Arc < OsStr > = Arc :: from ( s. into_os_string ( ) ) ;
@@ -1786,7 +1787,8 @@ impl From<&Path> for Arc<Path> {
1786
1787
1787
1788
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1788
1789
impl From < PathBuf > for Rc < Path > {
1789
- /// Converts a [`PathBuf`] into an [`Rc`] by moving the [`PathBuf`] data into a new `Rc` buffer.
1790
+ /// Converts a [`PathBuf`] into an <code>[Rc]<[Path]></code> by moving the [`PathBuf`] data into
1791
+ /// a new [`Rc`] buffer.
1790
1792
#[ inline]
1791
1793
fn from ( s : PathBuf ) -> Rc < Path > {
1792
1794
let rc: Rc < OsStr > = Rc :: from ( s. into_os_string ( ) ) ;
@@ -1796,7 +1798,7 @@ impl From<PathBuf> for Rc<Path> {
1796
1798
1797
1799
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
1798
1800
impl From < & Path > for Rc < Path > {
1799
- /// Converts a [`Path`] into an [`Rc`] by copying the [`Path`] data into a new `Rc` buffer.
1801
+ /// Converts a [`Path`] into an [`Rc`] by copying the [`Path`] data into a new [ `Rc`] buffer.
1800
1802
#[ inline]
1801
1803
fn from ( s : & Path ) -> Rc < Path > {
1802
1804
let rc: Rc < OsStr > = Rc :: from ( s. as_os_str ( ) ) ;
0 commit comments