-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
13 changed files
with
221 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule liblibc
updated
25 files
+56 −58 | Cargo.lock | |
+1 −1 | Cargo.toml | |
+4 −1 | README.md | |
+66 −26 | ci/README.md | |
+4 −4 | ci/docker/x86_64-unknown-freebsd/Dockerfile | |
+1 −1 | ci/dox.sh | |
+7 −0 | ci/run.sh | |
+1 −0 | libc-test/build.rs | |
+2 −2 | src/dox.rs | |
+7 −4 | src/lib.rs | |
+2 −2 | src/macros.rs | |
+9 −6 | src/unix/bsd/freebsdlike/freebsd/mod.rs | |
+0 −9 | src/unix/bsd/netbsdlike/mod.rs | |
+13 −0 | src/unix/bsd/netbsdlike/netbsd/mod.rs | |
+20 −0 | src/unix/bsd/netbsdlike/openbsdlike/bitrig/mod.rs | |
+6 −20 | src/unix/bsd/netbsdlike/openbsdlike/mod.rs | |
+23 −0 | src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs | |
+1 −1 | src/unix/mod.rs | |
+3 −0 | src/unix/notbsd/linux/s390x.rs | |
+1 −0 | src/unix/solaris/mod.rs | |
+2 −0 | src/unix/uclibc/mips/mod.rs | |
+0 −1 | src/unix/uclibc/mod.rs | |
+1 −0 | src/unix/uclibc/x86_64/l4re.rs | |
+4 −1 | src/unix/uclibc/x86_64/mod.rs | |
+4 −0 | src/unix/uclibc/x86_64/other.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.