about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-11 10:36:26 +0100
committerGitHub <noreply@github.com>2020-03-11 10:36:26 +0100
commit452c147fba6f15478b25ab24c9b3077a5b1ebfbc (patch)
treeafe62d753f8ab7a1c3e32f073c447f5874af4493 /src/libstd/sys/unix/stack_overflow.rs
parentae122721dcd3bd16220126c834a846c0a1e49b58 (diff)
parent69aaed872cec119b1034c52151d00fb5308e7407 (diff)
downloadrust-452c147fba6f15478b25ab24c9b3077a5b1ebfbc.tar.gz
rust-452c147fba6f15478b25ab24c9b3077a5b1ebfbc.zip
Rollup merge of #69766 - skade:make-point-copy-in-add-documentation, r=shepmaster
Make Point `Copy` in arithmetic documentation

Small composite types like `Point { x: i32, y: i32}` are plain
old data and we should encourage users to derive `Copy` on them.

This changes the semantics of the edited examples slightly: instead
of consuming the operands during addition, it will copy them. This
is desired behaviour.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions