File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -592,13 +592,13 @@ impl<T: FloatCore> Complex<T> {
592
592
}
593
593
}
594
594
595
- /// Saftey : `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
595
+ /// Safety : `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
596
596
/// can guarantee it contains no *added* padding. Thus, if `T: Zeroable`,
597
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
- /// Saftey : `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
601
+ /// Safety : `Complex<T>` is `repr(C)` and contains only instances of `T`, so we
602
602
/// can guarantee it contains no *added* padding. Thus, if `T: Pod`,
603
603
/// `Complex<T>` is also `Pod`
604
604
#[ cfg( feature = "bytemuck" ) ]
You can’t perform that action at this time.
0 commit comments