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 @@ -591,7 +591,7 @@ pub unsafe fn read<T>(src: *const T) -> T {
591591/// whether `T` is [`Copy`]. If `T` is not [`Copy`], using both the returned
592592/// value and the value at `*src` can [violate memory safety][read-ownership].
593593///
594- /// Note that even if `T` has size `0`, the pointer must be non-NULL and properly aligned .
594+ /// Note that even if `T` has size `0`, the pointer must be non-NULL.
595595///
596596/// [`Copy`]: ../marker/trait.Copy.html
597597/// [`read`]: ./fn.read.html
@@ -759,7 +759,7 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
759759///
760760/// * `dst` must be [valid] for writes.
761761///
762- /// Note that even if `T` has size `0`, the pointer must be non-NULL and properly aligned .
762+ /// Note that even if `T` has size `0`, the pointer must be non-NULL.
763763///
764764/// [valid]: ../ptr/index.html#safety
765765///
You can’t perform that action at this time.
0 commit comments