about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorNikolaos Chatzikonstantinou <nchatz314@gmail.com>2022-04-03 12:42:19 +0900
committerNikolaos Chatzikonstantinou <nchatz314@gmail.com>2022-04-03 12:42:19 +0900
commit53887a5d9ee9b81bdcf8200787fa90d1710bb32d (patch)
tree4978f35e84f99062311a4eb6b69b44e0a27757b4 /library/std/src
parentc1550e3f8c57b0ebb0edb3a7ea64727e668f669c (diff)
downloadrust-53887a5d9ee9b81bdcf8200787fa90d1710bb32d.tar.gz
rust-53887a5d9ee9b81bdcf8200787fa90d1710bb32d.zip
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