File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ where
194
194
/// With padding, `read_unaligned` will read past the end of an array of N elements.
195
195
///
196
196
/// # Safety
197
- /// Reading `ptr` must be safe, as if by `<*const [T; N]>::read_unaligned `.
197
+ /// Reading `ptr` must be safe, as if by `<*const [T; N]>::read `.
198
198
#[ inline]
199
199
const unsafe fn load ( ptr : * const [ T ; N ] ) -> Self {
200
200
// There are potentially simpler ways to write this function, but this should result in
@@ -215,7 +215,7 @@ where
215
215
/// See `load` as to why this function is necessary.
216
216
///
217
217
/// # Safety
218
- /// Writing to `ptr` must be safe, as if by `<*mut [T; N]>::write_unaligned `.
218
+ /// Writing to `ptr` must be safe, as if by `<*mut [T; N]>::write `.
219
219
#[ inline]
220
220
const unsafe fn store ( self , ptr : * mut [ T ; N ] ) {
221
221
// There are potentially simpler ways to write this function, but this should result in
You can’t perform that action at this time.
0 commit comments