about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-04 18:11:51 +0000
committerbors <bors@rust-lang.org>2018-04-04 18:11:51 +0000
commitfb44b4c0eb1d344f84f7bb2c90f28e31a8a180be (patch)
tree9f860914840b493b7f11e1be457a861ec0c63e29 /src/libstd
parent17fea66ba46bb32d1a49495518d899cede1d298a (diff)
parent87c08f9926b7078489a93cedd1c9f10df1bdf2e0 (diff)
downloadrust-fb44b4c0eb1d344f84f7bb2c90f28e31a8a180be.tar.gz
rust-fb44b4c0eb1d344f84f7bb2c90f28e31a8a180be.zip
Auto merge of #48171 - FraGag:doc-copy-clone-impls, r=nikomatsakis
Better document the implementors of Clone and Copy

There are two parts to this change. The first part is a change to the compiler and to the standard library (specifically, libcore) to allow implementations of `Clone` and `Copy` to be written for a subset of builtin types. By adding these implementations to libcore, they now show up in the documentation. This is a [breaking-change] for users of `#![no_core]`, because they will now have to supply their own copy of the implementations of `Clone` and `Copy` that were added in libcore.

The second part is purely a documentation change to document the other implementors of `Clone` and `Copy` that cannot be described in Rust code (yet) and are thus provided by the compiler.

Fixes #25893
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions