@@ -1766,7 +1766,8 @@ impl<'a> From<Cow<'a, Path>> for PathBuf {
17661766
17671767#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
17681768impl 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.
17701771 #[ inline]
17711772 fn from ( s : PathBuf ) -> Arc < Path > {
17721773 let arc: Arc < OsStr > = Arc :: from ( s. into_os_string ( ) ) ;
@@ -1786,7 +1787,8 @@ impl From<&Path> for Arc<Path> {
17861787
17871788#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
17881789impl 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.
17901792 #[ inline]
17911793 fn from ( s : PathBuf ) -> Rc < Path > {
17921794 let rc: Rc < OsStr > = Rc :: from ( s. into_os_string ( ) ) ;
@@ -1796,7 +1798,7 @@ impl From<PathBuf> for Rc<Path> {
17961798
17971799#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
17981800impl 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.
18001802 #[ inline]
18011803 fn from ( s : & Path ) -> Rc < Path > {
18021804 let rc: Rc < OsStr > = Rc :: from ( s. as_os_str ( ) ) ;
0 commit comments