Skip to content

Commit b629b2d

Browse files
authored
fix the list of pub unsafe fns
1 parent aa9e870 commit b629b2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/challenges/new-challenge.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ All the following pub unsafe functions must be annotated with safety contracts a
4545
| Rc<T:?Sized,A:Allocator>::increment_strong_count_in | alloc::rc |
4646
| Rc<T:?Sized,A:Allocator>::decrement_strong_count_in | alloc::rc |
4747
| Rc<T:?Sized,A:Allocator>::get_mut_unchecked | alloc::rc |
48-
| Rc<A:Allocator>::downcast_unchecked | alloc::rc |
48+
| Rc<dyn Any,A:Allocator>::downcast_unchecked | alloc::rc |
4949
| Weak<T:?Sized>::from_raw | alloc::rc |
5050
| Weak<T:?Sized,A:Allocator>::from_raw_in | alloc::rc |
5151
| Arc<mem::MaybeUninit<T>,A>::assume_init | alloc::sync |
@@ -55,9 +55,9 @@ All the following pub unsafe functions must be annotated with safety contracts a
5555
| Arc<T:?Sized>::decrement_strong_count | alloc::sync |
5656
| Arc<T:?Sized,A:Allocator>::from_raw_in | alloc::sync |
5757
| Arc<T:?Sized,A:Allocator>::increment_strong_count_in | alloc::sync |
58-
| Arc<T:?Sized>::decrement_strong_count_in | alloc::sync |
59-
| Arc<T:?Sized>::get_mut_unchecked | alloc::sync |
60-
| Arc<T:?Sized>::downcast_unchecked | alloc::sync |
58+
| Arc<T:?Sized,A:Allocator>::decrement_strong_count_in | alloc::sync |
59+
| Arc<T:?Sized,A:Allocator>::get_mut_unchecked | alloc::sync |
60+
| Arc<dyn Any+Send+Sync,A:Allocator>::downcast_unchecked | alloc::sync |
6161
| Weak<T:?Sized>::from_raw | alloc::sync |
6262
| Weak<T:?Sized,A:Allocator>::from_raw_in | alloc::sync |
6363

0 commit comments

Comments
 (0)