File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1743,7 +1743,7 @@ impl<T: ?Sized> fmt::Pointer for Rc<T> {
17431743#[ cfg( not( no_global_oom_handling) ) ]
17441744#[ stable( feature = "from_for_ptrs" , since = "1.6.0" ) ]
17451745impl < T > From < T > for Rc < T > {
1746- /// Converts a generic type `T` into a `Rc<T>`
1746+ /// Converts a generic type `T` into an `Rc<T>`
17471747 ///
17481748 /// The conversion allocates on the heap and moves `t`
17491749 /// from the stack into it.
Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ impl From<&CStr> for Arc<CStr> {
958958
959959#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
960960impl From < CString > for Rc < CStr > {
961- /// Converts a [`CString`] into a [`Rc`]`<CStr>` without copying or allocating.
961+ /// Converts a [`CString`] into an [`Rc`]`<CStr>` without copying or allocating.
962962 #[ inline]
963963 fn from ( s : CString ) -> Rc < CStr > {
964964 let rc: Rc < [ u8 ] > = Rc :: from ( s. into_inner ( ) ) ;
Original file line number Diff line number Diff line change @@ -916,7 +916,7 @@ impl From<&OsStr> for Arc<OsStr> {
916916
917917#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
918918impl From < OsString > for Rc < OsStr > {
919- /// Converts an [`OsString`] into a [`Rc`]`<OsStr>` without copying or allocating.
919+ /// Converts an [`OsString`] into an [`Rc`]`<OsStr>` without copying or allocating.
920920 #[ inline]
921921 fn from ( s : OsString ) -> Rc < OsStr > {
922922 let rc = s. inner . into_rc ( ) ;
You can’t perform that action at this time.
0 commit comments