Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
48d1be4
Test interaction of unions with non-zero/niche-filling optimization
petertodd May 6, 2019
76c5229
Document purpose of union-nonzero test
petertodd May 7, 2019
aa1db24
Add non-non-zero test to union-nonzero test
petertodd May 7, 2019
b5febe7
Update lib.rs
chandde May 15, 2019
ba3785e
add targetarch for CodegenContext
chandde May 16, 2019
70f78b3
optimize the arm64 OR arm32 check
chandde May 18, 2019
759921e
fix line length
chandde May 18, 2019
b5d4bd2
Fix lints handling in rustdoc
GuillaumeGomez May 16, 2019
c78af2b
Update rustdoc-ui tests
GuillaumeGomez May 17, 2019
6063777
Fix tests not running locally
GuillaumeGomez May 18, 2019
a91ad60
Make clear that status quo ≠ guarantee
petertodd May 19, 2019
6bb3980
Stop using gensyms in HIR lowering
matthewjasper May 19, 2019
a759565
Fix data types indication
VeryTastyTomato May 19, 2019
8e99c76
[const-prop] Support propagating into Assert's `cond` Operand
wesleywiser May 11, 2019
3f5c743
[const-prop] Support propagating into SwitchInt's `discr` Operand
wesleywiser May 11, 2019
2baab0e
[const-prop] Remove catch all match and add FIXME
wesleywiser May 11, 2019
ec853ba
[const-prop] Don't const-prop into terminators unless mir-opt-level >= 2
wesleywiser May 11, 2019
f9d65c0
Rollup merge of #60590 - petertodd:2018-test-union-nonzero, r=nikomat…
Centril May 19, 2019
5c84d77
Rollup merge of #60745 - wesleywiser:const_prop_into_terminators, r=o…
Centril May 19, 2019
815d3ba
Rollup merge of #60895 - chandde:master, r=alexcrichton
Centril May 19, 2019
986aa36
Rollup merge of #60908 - GuillaumeGomez:errors, r=oli-obk
Centril May 19, 2019
787d49e
Rollup merge of #60960 - matthewjasper:remove-lowering-gensym, r=petr…
Centril May 19, 2019
614ffe5
Rollup merge of #60962 - VeryTastyTomato:patch-1, r=jonas-schievink
Centril May 19, 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
Fix data types indication
Fix the data types indication in basic examples of the Trait std::fmt::LowerExp and std::fmt::UpperExp.
Since there aren’t any type annotation on the let statement using the number 42.0, they are of type f64 according to The Book:
https://doc.rust-lang.org/book/ch03-02-data-types.html#floating-point-types
  • Loading branch information
VeryTastyTomato authored May 19, 2019
commit a759565763c51ed856937d3a8b520d26e5270ba2
4 changes: 2 additions & 2 deletions src/libcore/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ pub trait Pointer {
///
/// # Examples
///
/// Basic usage with `i32`:
/// Basic usage with `f64`:
///
/// ```
/// let x = 42.0; // 42.0 is '4.2e1' in scientific notation
Expand Down Expand Up @@ -929,7 +929,7 @@ pub trait LowerExp {
///
/// # Examples
///
/// Basic usage with `f32`:
/// Basic usage with `f64`:
///
/// ```
/// let x = 42.0; // 42.0 is '4.2E1' in scientific notation
Expand Down