Skip to content

Rollup of 15 pull requests #59910

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

Merged
merged 33 commits into from
Apr 12, 2019
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5c7a944
Add documentation on the -Z flag on the command-line arguments sectio…
Apr 3, 2019
894142d
Add back the substring test
GuillaumeGomez Apr 4, 2019
edebed9
compiletest: Improve no_prefer_dynamic docs
phansch Apr 8, 2019
9017d46
Make trait_methods_not_found use a lock
Zoxc Apr 9, 2019
3262d1e
Kill dead code dominator code.
vext01 Apr 9, 2019
757ef38
improve unknown enum variant errors
euclio Apr 8, 2019
3e01901
Remove strange formatting in `Ordering` docs.
ehuss Apr 9, 2019
3826493
std::ops::Div examples: correct nominator to numerator
andersk Apr 10, 2019
7acfa45
Updated the documentation, now claiming the -Z is associated to unsta…
Apr 10, 2019
cdeb745
Updated the description of -Z in the rustc book.
Apr 10, 2019
e2d1d66
SGX target: fix cfg(test) build
Apr 10, 2019
0234878
Update TRPL to use mdbook 0.2
carols10cents Apr 11, 2019
f54df44
Remove note about transmute for float bitpatterns.
solson Apr 11, 2019
ae2a68b
Fix broken links on std::boxed doc page
ollie27 Apr 9, 2019
aefc158
Update diagnostics.rs
andrewbanchich Apr 11, 2019
90d9727
Fix the link to sort_by_cached_key
cuviper Apr 11, 2019
1ced262
save-analysis: use `qpath_def` for associated types
Xanewok Apr 11, 2019
bcd263e
save-analysis: Simplify match arm for type node def
Xanewok Apr 11, 2019
59e95dd
Rollup merge of #59680 - DevQps:document-rustc-z-flag, r=cramertj
Centril Apr 12, 2019
d77b7d9
Rollup merge of #59711 - GuillaumeGomez:substring-test, r=QuietMisdre…
Centril Apr 12, 2019
2f71ecb
Rollup merge of #59806 - phansch:compiletest_docs2, r=oli-obk
Centril Apr 12, 2019
f4c8cc9
Rollup merge of #59809 - Zoxc:trait_methods_not_found, r=estebank
Centril Apr 12, 2019
ba10b13
Rollup merge of #59811 - vext01:dead-dominator-code, r=oli-obk
Centril Apr 12, 2019
484e703
Rollup merge of #59814 - ollie27:dead_boxed_links, r=QuietMisdreavus
Centril Apr 12, 2019
24ee611
Rollup merge of #59821 - euclio:unknown-enum-variants, r=davidtwco
Centril Apr 12, 2019
94b7b6a
Rollup merge of #59831 - ehuss:ordering-docs, r=kennytm
Centril Apr 12, 2019
740c9ea
Rollup merge of #59836 - andersk:nominator, r=Centril
Centril Apr 12, 2019
c852cc5
Rollup merge of #59857 - jethrogb:jb/sgx-test, r=Centril
Centril Apr 12, 2019
ef90d94
Rollup merge of #59876 - integer32llc:update-trpl-to-mdbook-0.2, r=st…
Centril Apr 12, 2019
257dbb8
Rollup merge of #59880 - solson:transmute-float, r=alexcrichton
Centril Apr 12, 2019
cb7079f
Rollup merge of #59889 - andrewbanchich:minor-text-fixes, r=estebank
Centril Apr 12, 2019
dddcd92
Rollup merge of #59891 - rust-lang:sort_by_cached_key, r=jonas-schievink
Centril Apr 12, 2019
7a8329f
Rollup merge of #59894 - Xanewok:save-assoc-ty-qpath, r=eddyb
Centril Apr 12, 2019
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
Remove strange formatting in Ordering docs.
  • Loading branch information
ehuss committed Apr 9, 2019
commit 3e01901fcdbe40ebefe706bf6f460742b9f15d2e
6 changes: 3 additions & 3 deletions src/libcore/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,13 @@ pub struct AssertParamIsEq<T: Eq + ?Sized> { _field: ::marker::PhantomData<T> }
#[derive(Clone, Copy, PartialEq, Debug, Hash)]
#[stable(feature = "rust1", since = "1.0.0")]
pub enum Ordering {
/// An ordering where a compared value is less [than another].
/// An ordering where a compared value is less than another.
#[stable(feature = "rust1", since = "1.0.0")]
Less = -1,
/// An ordering where a compared value is equal [to another].
/// An ordering where a compared value is equal to another.
#[stable(feature = "rust1", since = "1.0.0")]
Equal = 0,
/// An ordering where a compared value is greater [than another].
/// An ordering where a compared value is greater than another.
#[stable(feature = "rust1", since = "1.0.0")]
Greater = 1,
}
Expand Down