1
Fork 0

Deny bare trait objects in in src/liballoc

This commit is contained in:
ljedrz 2018-07-10 20:45:16 +02:00
parent 77117e3836
commit 296e72f11c
4 changed files with 13 additions and 12 deletions

View file

@ -978,7 +978,7 @@ unsafe impl<#[may_dangle] T: ?Sized> Drop for Arc<T> {
}
}
impl Arc<Any + Send + Sync> {
impl Arc<dyn Any + Send + Sync> {
#[inline]
#[stable(feature = "rc_downcast", since = "1.29.0")]
/// Attempt to downcast the `Arc<Any + Send + Sync>` to a concrete type.