Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 14 pull requests #76231

Merged
merged 46 commits into from
Sep 2, 2020
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
f3d7645
Add trailing comma support to matches macro
chrisduerr Jul 28, 2020
cc3b2f9
Add more examples to lexicographic cmp on Iterators.
hbina Aug 29, 2020
4aae781
Add info about `!` and `impl Trait`
camelid Aug 30, 2020
fd985e2
cannot have divergence -> cannot diverge
camelid Aug 30, 2020
0d9a2ab
It's only an issue without an `impl Trait for !`
camelid Aug 30, 2020
26eab6a
Specify `0` of type `u32`
camelid Aug 30, 2020
80dcad9
Be more specific about polymorphic return types
camelid Aug 30, 2020
bd31962
other branch -> `else` branch
camelid Aug 30, 2020
7e2548f
Import `Debug` instead of redefining it
camelid Aug 30, 2020
37ea97c
Explain why the `0` is a `u32`
camelid Aug 30, 2020
090b167
Factor out StmtKind::MacCall fields into `MacCallStmt` struct
Aaron1011 Aug 30, 2020
ee19021
Fix clippy
Aaron1011 Aug 30, 2020
23f0ccf
Stabilise link-self-contained option
mati865 Jul 30, 2020
e13a701
Redefine `Debug` instead of importing it
camelid Aug 31, 2020
cdd6f11
Remove empty comment
camelid Aug 31, 2020
c4c058c
Improve wording
camelid Sep 1, 2020
913354b
Improve `assert!` section in `bool` docs
camelid Sep 1, 2020
55637f5
Break line at 100 characters
camelid Sep 1, 2020
6b5869a
Add new `-Z dump-mir-spanview` option
richkadel Aug 29, 2020
be2947d
Give a better error message for duplicate built-in macros
jyn514 Aug 31, 2020
9c7fb6c
Use intra-doc links
denisvasilik Sep 1, 2020
b639cb1
Enhance wording
denisvasilik Sep 1, 2020
b31cc8f
Make all methods of `std::net::Ipv6Addr` const
Sep 1, 2020
e7d0743
Use intra-doc links
denisvasilik Sep 1, 2020
3510c56
Improve readability
denisvasilik Sep 1, 2020
7eb4b1b
Document lint missing_doc_code_examples is nightly-only
JesHansen Sep 1, 2020
cd08def
Add test for `Ipv6Addr` methods in a const context
Sep 1, 2020
a43dd4f
Change implementation of `Ipv6Addr::is_unspecified` and `is_loopback`…
Sep 1, 2020
9afe97c
Add trailing newline to `ipv6.rs`
CDirkx Sep 1, 2020
c86d249
Use "Fira Sans" for crate list font
camelid Aug 30, 2020
b1491ea
lexer: Tiny improvement to shebang detection
petrochenkov Sep 1, 2020
e5c17bf
Clean up header in `iter` docs for `for` loops
camelid Sep 1, 2020
383da5e
Rollup merge of #74880 - chrisduerr:fix_matches, r=dtolnay
tmandry Sep 2, 2020
5f28831
Rollup merge of #76074 - richkadel:llvm-coverage-map-gen-6b.5.1, r=we…
tmandry Sep 2, 2020
7c1c7de
Rollup merge of #76088 - hbina:add_example, r=LukasKalbertodt
tmandry Sep 2, 2020
34c8b7a
Rollup merge of #76099 - camelid:patch-8, r=jyn514
tmandry Sep 2, 2020
9a05582
Rollup merge of #76126 - camelid:crate-list-font, r=GuillaumeGomez
tmandry Sep 2, 2020
738b8ea
Rollup merge of #76132 - Aaron1011:mac-call-stmt, r=petrochenkov
tmandry Sep 2, 2020
b01d0b1
Rollup merge of #76143 - jyn514:duplicate-builtin-macros, r=petrochenkov
tmandry Sep 2, 2020
4a6aa35
Rollup merge of #76158 - mati865:self-contained-option, r=petrochenkov
tmandry Sep 2, 2020
17fa733
Rollup merge of #76201 - denisvasilik:intra-doc-links-core-panic, r=k…
tmandry Sep 2, 2020
11ff32f
Rollup merge of #76206 - CDirkx:const-ipv6, r=ecstatic-morse
tmandry Sep 2, 2020
7edc93b
Rollup merge of #76207 - denisvasilik:intra-doc-links-core-clone, r=j…
tmandry Sep 2, 2020
c22de44
Rollup merge of #76212 - JesHansen:fix-lint-doc, r=jyn514
tmandry Sep 2, 2020
56b5de2
Rollup merge of #76218 - petrochenkov:shebang3, r=matklad
tmandry Sep 2, 2020
4dd75f8
Rollup merge of #76221 - camelid:cleanup-iter-for, r=jyn514
tmandry Sep 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Import Debug instead of redefining it
  • Loading branch information
camelid authored Aug 30, 2020
commit 7e2548fe69ff5ec4e5e06c8c28351cbf2ebf7eee
5 changes: 1 addition & 4 deletions library/std/src/primitive_docs.rs
Original file line number Diff line number Diff line change
@@ -232,10 +232,7 @@ mod prim_bool {}
///
/// ```
/// #![feature(never_type)]
/// # use std::fmt;
/// # trait Debug {
/// # fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result;
/// # }
/// # use std::fmt::{self, Debug};
/// impl Debug for ! {
/// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
/// *self