diff options
| author | Jan Riemer <janriemer@users.noreply.github.com> | 2020-08-02 14:57:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-02 14:57:19 +0200 |
| commit | 7835c8c06cc80b5a0d3d08c1ab1b91240a8aec52 (patch) | |
| tree | 6f60453b159a96d4f134d696365cb47994871ab5 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 1e9913807841153729f92e438e6189184cbf561f (diff) | |
| download | rust-7835c8c06cc80b5a0d3d08c1ab1b91240a8aec52.tar.gz rust-7835c8c06cc80b5a0d3d08c1ab1b91240a8aec52.zip | |
docs(marker/copy): clarify that `&T` is also `Copy`
In the current documentation about the `Copy` marker trait, there is a section about "additional implementors", which list additional implementors of the `Copy` trait. The fact that shared references are also `Copy` is mixed with another point, which makes it hard to recognize and make it seem not as important. This clarifies the fact that shared references are also `Copy`, by mentioning it as a separate item in the list of "additional implementors".
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
