File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -592,13 +592,13 @@ impl<T: FloatCore> Complex<T> {
592592 }
593593}
594594
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
596596/// can guarantee it contains no *added* padding. Thus, if `T: Zeroable`,
597597/// `Complex<T>` is also `Zeroable`
598598#[ cfg( feature = "bytemuck" ) ]
599599unsafe impl < T : bytemuck:: Zeroable > bytemuck:: Zeroable for Complex < T > { }
600600
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
602602/// can guarantee it contains no *added* padding. Thus, if `T: Pod`,
603603/// `Complex<T>` is also `Pod`
604604#[ cfg( feature = "bytemuck" ) ]
You can’t perform that action at this time.
0 commit comments