diff options
| author | Alexis Bourget <alexis.bourget@gmail.com> | 2020-12-01 23:09:03 +0100 |
|---|---|---|
| committer | Alexis Bourget <alexis.bourget@gmail.com> | 2020-12-02 00:41:53 +0100 |
| commit | 4eb76fcc8eb37e69962d27d990ba693fa612c17a (patch) | |
| tree | edfa66e7dcb69bc44f83b177ee71f0bed2c4d819 /library/std/src/primitive_docs.rs | |
| parent | c4926d01ada661d4fbffb0e5b1708ae5463d47b3 (diff) | |
| download | rust-4eb76fcc8eb37e69962d27d990ba693fa612c17a.tar.gz rust-4eb76fcc8eb37e69962d27d990ba693fa612c17a.zip | |
Use more std:: instead of core:: in docs for consistency, add more intra doc links
Diffstat (limited to 'library/std/src/primitive_docs.rs')
| -rw-r--r-- | library/std/src/primitive_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index 83a282c8cd6..55171ef2292 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -198,7 +198,7 @@ mod prim_bool {} /// words, they can't return `!` from every code path. As an example, this code doesn't compile: /// /// ```compile_fail -/// use core::ops::Add; +/// use std::ops::Add; /// /// fn foo() -> impl Add<u32> { /// unimplemented!() @@ -208,7 +208,7 @@ mod prim_bool {} /// But this code does: /// /// ``` -/// use core::ops::Add; +/// use std::ops::Add; /// /// fn foo() -> impl Add<u32> { /// if true { |
