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> {
1743
1743
#[ cfg( not( no_global_oom_handling) ) ]
1744
1744
#[ stable( feature = "from_for_ptrs" , since = "1.6.0" ) ]
1745
1745
impl < 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>`
1747
1747
///
1748
1748
/// The conversion allocates on the heap and moves `t`
1749
1749
/// 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> {
958
958
959
959
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
960
960
impl 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.
962
962
#[ inline]
963
963
fn from ( s : CString ) -> Rc < CStr > {
964
964
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> {
916
916
917
917
#[ stable( feature = "shared_from_slice2" , since = "1.24.0" ) ]
918
918
impl 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.
920
920
#[ inline]
921
921
fn from ( s : OsString ) -> Rc < OsStr > {
922
922
let rc = s. inner . into_rc ( ) ;
You can’t perform that action at this time.
0 commit comments