Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c3e3b7f
Use intra-doc link in `proc_macro`
LeSeulArtichaut Aug 22, 2020
5d32786
Switch to intra-doc links in `std::macros`
camelid Aug 22, 2020
becf5ec
Add missing intra-doc link
camelid Aug 23, 2020
637659b
Add missing links
camelid Aug 23, 2020
69d3334
Fix typo in documentation of i32 wrapping_abs()
jrheard Aug 23, 2020
2c995d2
Prefer https link for wikipedia URLs
tesuji Aug 23, 2020
18f47d8
Misleading documentation for derived Ord/PartialOrd implementation fo…
Aug 23, 2020
2e6f2e8
publish-toolstate: show more context on HTTP error
ehuss Aug 23, 2020
e9928d8
Switch to intra-doc links in `std::collections`
camelid Aug 23, 2020
7c6362a
expand-yaml-anchors: fix clippy::match_ref_pats and clippy::redundant…
matthiaskrgr Aug 22, 2020
d97c470
linkcheckr: fix clippy::redundant_static_lifetimes and clippy::single…
matthiaskrgr Aug 22, 2020
d36e3e2
Use intra-doc-links in `core::{char, macros, fmt}`
LeSeulArtichaut Aug 23, 2020
ebac0e4
tidy: remove redundant variable from check_if_error_code_is_test_in_e…
matthiaskrgr Aug 23, 2020
ba6b427
unicode_table_generator: fix clippy::writeln_empty_string, clippy::us…
matthiaskrgr Aug 23, 2020
602dd14
Use allow(unused_imports) instead of cfg(doc)
jyn514 Aug 23, 2020
a725001
unstable-book-gen: fix clippy::single_char_pattern and clippy::iter_s…
matthiaskrgr Aug 23, 2020
bc47f70
doc: Fix typo in std::process::Child documentation
jrheard Aug 23, 2020
14cc108
Rollup merge of #75817 - LeSeulArtichaut:proc_macro-docs, r=jyn514
JohnTitor Aug 24, 2020
9576eef
Rollup merge of #75819 - LeSeulArtichaut:core-intra-docs-2, r=jyn514
JohnTitor Aug 24, 2020
8d9086f
Rollup merge of #75821 - camelid:intra-doc-links-for-std-macros, r=jy…
JohnTitor Aug 24, 2020
35793a4
Rollup merge of #75825 - jrheard:patch-1, r=steveklabnik
JohnTitor Aug 24, 2020
0f2ed41
Rollup merge of #75826 - ayushmishra2005:misleading_documentation_for…
JohnTitor Aug 24, 2020
bc3d076
Rollup merge of #75831 - lzutao:https, r=Dylan-DPC
JohnTitor Aug 24, 2020
9c42029
Rollup merge of #75844 - ehuss:publish-toolstate-httperror, r=Mark-Si…
JohnTitor Aug 24, 2020
b393873
Rollup merge of #75847 - camelid:patch-1, r=dtolnay
JohnTitor Aug 24, 2020
30e7430
Rollup merge of #75855 - jyn514:no-cfg-doc, r=ollie27
JohnTitor Aug 24, 2020
f5a841a
Rollup merge of #75856 - matthiaskrgr:more_clippy, r=Dylan-DPC
JohnTitor Aug 24, 2020
5b49ffe
Rollup merge of #75859 - jrheard:patch-2, r=jonas-schievink
JohnTitor Aug 24, 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
Misleading documentation for derived Ord/PartialOrd implementation fo…
…r enums #75620
  • Loading branch information
Ayush Kumar Mishra committed Aug 23, 2020
commit 18f47d81dae6740a4b62262cf2518ea1cfe19e62
4 changes: 2 additions & 2 deletions library/core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl<T: Ord> Ord for Reverse<T> {
///
/// This trait can be used with `#[derive]`. When `derive`d on structs, it will produce a
/// lexicographic ordering based on the top-to-bottom declaration order of the struct's members.
/// When `derive`d on enums, variants are ordered by their top-to-bottom declaration order.
/// When `derive`d on enums, variants are ordered by their top-to-bottom discriminant order.
///
/// ## How can I implement `Ord`?
///
Expand Down Expand Up @@ -694,7 +694,7 @@ impl PartialOrd for Ordering {
///
/// This trait can be used with `#[derive]`. When `derive`d on structs, it will produce a
/// lexicographic ordering based on the top-to-bottom declaration order of the struct's members.
/// When `derive`d on enums, variants are ordered by their top-to-bottom declaration order.
/// When `derive`d on enums, variants are ordered by their top-to-bottom discriminant order.
///
/// ## How can I implement `PartialOrd`?
///
Expand Down