about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-03 19:06:20 +0000
committerbors <bors@rust-lang.org>2022-04-03 19:06:20 +0000
commit2ad4eb207b369017f5140918b5e4b0d3650b46b0 (patch)
treefeaf81df91cd7a96502521ca1a07187c0ca942c7 /library/std/src
parent168a0209002fef203e83989ff641c1b3e1a51859 (diff)
parent53887a5d9ee9b81bdcf8200787fa90d1710bb32d (diff)
downloadrust-2ad4eb207b369017f5140918b5e4b0d3650b46b0.tar.gz
rust-2ad4eb207b369017f5140918b5e4b0d3650b46b0.zip
Auto merge of #95610 - createyourpersonalaccount:derefmut-docfix, r=Dylan-DPC
Improve doc example of DerefMut

It is more illustrative, after using `*x` to modify the field, to show
in the assertion that the field has indeed been modified.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions