File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -592,15 +592,15 @@ impl<T: FloatCore> Complex<T> {
592592 }
593593}
594594
595- /// Safety: `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
596- /// can guarantee it contains no *added* padding. Thus, if `T: Zeroable`,
597- /// `Complex<T>` is also `Zeroable`
595+ // Safety: `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
596+ // can guarantee it contains no *added* padding. Thus, if `T: Zeroable`,
597+ // `Complex<T>` is also `Zeroable`
598598#[ cfg( feature = "bytemuck" ) ]
599599unsafe impl < T : bytemuck:: Zeroable > bytemuck:: Zeroable for Complex < T > { }
600600
601- /// Safety: `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
602- /// can guarantee it contains no *added* padding. Thus, if `T: Pod`,
603- /// `Complex<T>` is also `Pod`
601+ // Safety: `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
602+ // can guarantee it contains no *added* padding. Thus, if `T: Pod`,
603+ // `Complex<T>` is also `Pod`
604604#[ cfg( feature = "bytemuck" ) ]
605605unsafe impl < T : bytemuck:: Pod > bytemuck:: Pod for Complex < T > { }
606606
You can’t perform that action at this time.
0 commit comments