Skip to content

Commit e8c504d

Browse files
authored
Merge pull request #279 from Shadlock0133/patch-2
Fix typo: &dyn mut -> &mut dyn
2 parents c392775 + ec2e6c0 commit e8c504d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/src/layout/pointers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct DynObject {
5757
}
5858
```
5959

60-
> **note**: In the layout of `&dyn mut Trait` the field `data` is of the type `*mut u8`.
60+
> **note**: In the layout of `&mut dyn Trait` the field `data` is of the type `*mut u8`.
6161
6262
The layout of `&[T]` is the same as that of:
6363
```rust

0 commit comments

Comments
 (0)