@@ -206,7 +206,7 @@ unsafe impl<T: ?Sized + Sync + Send> Sync for Arc<T> {}
206206#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
207207impl < T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < Arc < U > > for Arc < T > { }
208208
209- #[ unstable( feature = "dispatch_from_dyn" , issue = "0 " ) ]
209+ #[ unstable( feature = "dispatch_from_dyn" , issue = "none " ) ]
210210impl < T : ?Sized + Unsize < U > , U : ?Sized > DispatchFromDyn < Arc < U > > for Arc < T > { }
211211
212212impl < T : ?Sized > Arc < T > {
@@ -263,7 +263,7 @@ unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {}
263263
264264#[ unstable( feature = "coerce_unsized" , issue = "27732" ) ]
265265impl < T : ?Sized + Unsize < U > , U : ?Sized > CoerceUnsized < Weak < U > > for Weak < T > { }
266- #[ unstable( feature = "dispatch_from_dyn" , issue = "0 " ) ]
266+ #[ unstable( feature = "dispatch_from_dyn" , issue = "none " ) ]
267267impl < T : ?Sized + Unsize < U > , U : ?Sized > DispatchFromDyn < Weak < U > > for Weak < T > { }
268268
269269#[ stable( feature = "arc_weak" , since = "1.4.0" ) ]
@@ -993,7 +993,7 @@ impl<T: ?Sized> Deref for Arc<T> {
993993 }
994994}
995995
996- #[ unstable( feature = "receiver_trait" , issue = "0 " ) ]
996+ #[ unstable( feature = "receiver_trait" , issue = "none " ) ]
997997impl < T : ?Sized > Receiver for Arc < T > { }
998998
999999impl < T : Clone > Arc < T > {
@@ -2032,7 +2032,7 @@ impl<T> From<Vec<T>> for Arc<[T]> {
20322032 }
20332033}
20342034
2035- #[ unstable( feature = "boxed_slice_try_from" , issue = "0 " ) ]
2035+ #[ unstable( feature = "boxed_slice_try_from" , issue = "none " ) ]
20362036impl < T , const N : usize > TryFrom < Arc < [ T ] > > for Arc < [ T ; N ] >
20372037where
20382038 [ T ; N ] : LengthAtMost32 ,
@@ -2161,6 +2161,8 @@ impl<T: ?Sized> Unpin for Arc<T> { }
21612161unsafe fn data_offset < T : ?Sized > ( ptr : * const T ) -> isize {
21622162 // Align the unsized value to the end of the `ArcInner`.
21632163 // Because it is `?Sized`, it will always be the last field in memory.
2164+ // Note: This is a detail of the current implementation of the compiler,
2165+ // and is not a guaranteed language detail. Do not rely on it outside of std.
21642166 data_offset_align ( align_of_val ( & * ptr) )
21652167}
21662168
0 commit comments