Skip to content

Commit d148b40

Browse files
RalfJungcrlf0710
andauthored
Apply suggestions from code review
Co-Authored-By: crlf0710 <[email protected]>
1 parent afb11c3 commit d148b40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/src/layout/pointers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct DynObject {
5151
}
5252
```
5353

54-
> **note**: In the layout equivalence of `&dyn mut Trait` the field `data` is of the type `*mut u8`.
54+
> **note**: In the layout of `&dyn mut Trait` the field `data` is of the type `*mut u8`.
5555
5656
The layout of `&[T]` is the same as that of:
5757
```rust
@@ -62,7 +62,7 @@ struct Slice<T> {
6262
}
6363
```
6464

65-
> **note**: In the layout equivalence of `&mut [T]` the field `ptr` is of the type `*mut T`.
65+
> **note**: In the layout of `&mut [T]` the field `ptr` is of the type `*mut T`.
6666
6767
The layout of `&str` is the same as that of `&[u8]`, and the layout of `&mut str` is
6868
the same as that of `&mut [u8]`.

0 commit comments

Comments
 (0)