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> {
592
592
}
593
593
}
594
594
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`
598
598
#[ cfg( feature = "bytemuck" ) ]
599
599
unsafe impl < T : bytemuck:: Zeroable > bytemuck:: Zeroable for Complex < T > { }
600
600
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`
604
604
#[ cfg( feature = "bytemuck" ) ]
605
605
unsafe impl < T : bytemuck:: Pod > bytemuck:: Pod for Complex < T > { }
606
606
You can’t perform that action at this time.
0 commit comments