Skip to content

Commit 27df640

Browse files
authored
Re-check with tool output.
1 parent b629b2d commit 27df640

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

doc/src/challenges/new-challenge.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ These (not necessarily public) functions contain unsafe code in their bodies but
7474
| Rc<T>::try_new_uninit | alloc::rc |
7575
| Rc<T>::try_new_zeroed | alloc::rc |
7676
| Rc<T>::pin | alloc::rc |
77-
| Rc<T,A>::new_uninit_in | alloc::rc |
78-
| Rc<T,A>::new_zeroed_in | alloc::rc |
79-
| Rc<T,A>::new_cyclic_in | alloc::rc |
80-
| Rc<T,A>::try_new_in | alloc::rc |
81-
| Rc<T,A>::try_new_uninit_in | alloc::rc |
82-
| Rc<T,A>::try_new_zeroed_in | alloc::rc |
83-
| Rc<T,A>::pin_in | alloc::rc |
84-
| Rc<T,A>::try_unwrap | alloc::rc |
77+
| Rc<T,A:Allocator>::new_uninit_in | alloc::rc |
78+
| Rc<T,A:Allocator>::new_zeroed_in | alloc::rc |
79+
| Rc<T,A:Allocator>::new_cyclic_in | alloc::rc |
80+
| Rc<T,A:Allocator>::try_new_in | alloc::rc |
81+
| Rc<T,A:Allocator>::try_new_uninit_in | alloc::rc |
82+
| Rc<T,A:Allocator>::try_new_zeroed_in | alloc::rc |
83+
| Rc<T,A:Allocator>::pin_in | alloc::rc |
84+
| Rc<T,A:Allocator>::try_unwrap | alloc::rc |
8585
| Rc<[T]>::new_uninit_slice | alloc::rc |
8686
| Rc<[T]>::new_zeroed_slice | alloc::rc |
8787
| Rc<[T]>::into_array | alloc::rc |
@@ -90,9 +90,9 @@ These (not necessarily public) functions contain unsafe code in their bodies but
9090
| Rc<T:?Sized,A:Allocator>::into_raw_with_allocator | alloc::rc |
9191
| Rc<T:?Sized,A:Allocator>::as_ptr | alloc::rc |
9292
| Rc<T:?Sized,A:Allocator>::get_mut | alloc::rc |
93-
| Rc<T:?Sized+?CloneToUninit, A:Allocator+Clone>::make_mut | alloc::rc |
94-
| Rc<A:Allocator>::downcast | alloc::rc |
95-
| Rc<[T], A:Allocator>::allocate_for_slice_in | alloc::rc |
93+
| Rc<T:?Sized+CloneToUninit, A:Allocator+Clone>::make_mut | alloc::rc |
94+
| Rc<dyn Any,A:Allocator>::downcast | alloc::rc |
95+
| Rc<T:?Sized,A:Allocator>::from_box_in | alloc::rc |
9696
| RcFromSlice<T: Clone>::from_slice | alloc::rc |
9797
| RcFromSlice<T: Copy>::from_slice | alloc::rc |
9898
| Drop<T: ?Sized, A:Allocator>::drop for Rc | alloc::rc |
@@ -104,25 +104,21 @@ These (not necessarily public) functions contain unsafe code in their bodies but
104104
| From<Rc<str>>::from | alloc::rc |
105105
| TryFrom<Rc[T],A:Allocator>::try_from | alloc::rc |
106106
| ToRcSlice<T, I>::to_rc_slice | alloc::rc |
107-
| Rc<T:?Sized,A:Allocator>::from_box_in | alloc::rc |
108107
| Weak<T:?Sized,A:Allocator>::as_ptr | alloc::rc |
109108
| Weak<T:?Sized,A:Allocator>::into_raw_with_allocator | alloc::rc |
110109
| Weak<T:?Sized,A:Allocator>::upgrade | alloc::rc |
111110
| Weak<T:?Sized,A:Allocator>::inner | alloc::rc |
112111
| Drop<T:?Sized, A:Allocator>::drop for Weak | alloc::rc |
113-
| Clone<T:?Sized, A:Allocator>::clone for Weak | alloc::rc |
114112
| RcInnerPtr::inc_strong | alloc::rc |
115113
| RcInnerPtr::inc_weak | alloc::rc |
116114
| UniqueRc<T:?Sized,A:Allocator>::into_rc | alloc::rc |
115+
| UniqueRc<T:?Sized,A:Allocator+Clone>::downgrade | alloc::rc |
117116
| Deref<T:?Sized,A:Allocator>::deref | alloc::rc |
118117
| DerefMut<T:?Sized,A:Allocator>::deref_mut | alloc::rc |
119118
| Drop<T:?Sized, A:Allocator>::drop for UniqueRc | alloc::rc |
120119
| UniqueRcUninit<T:?Sized, A:Allocator>::new | alloc::rc |
121120
| UniqueRcUninit<T:?Sized, A:Allocator>::data_ptr | alloc::rc |
122121
| Drop<T:?Sized, A:Allocator>::drop for UniqueRcUninit | alloc::rc |
123-
| UniqueRc<T:?Sized,A:Allocator>::into_rc | alloc::rc |
124-
| UniqueRc<T:?Sized,A:Allocator+Clone>::downgrade | alloc::rc |
125-
126122

127123
(I haven't included non-public unsafe functions here, though I do include non-public functions that contain unsafe. Is that a problem? Also, need to add the Arc variants of all these.)
128124

0 commit comments

Comments
 (0)