about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorVeryTastyTomato <VeryTastyTomato@users.noreply.github.com>2019-05-19 13:51:46 +0000
committerGitHub <noreply@github.com>2019-05-19 13:51:46 +0000
commita759565763c51ed856937d3a8b520d26e5270ba2 (patch)
tree6a05577878d445b9da885f5f49b36b46c6876fb3 /src/test/ui/thinlto
parentce41e4836265001544379bc5427aa02698535cc3 (diff)
downloadrust-a759565763c51ed856937d3a8b520d26e5270ba2.tar.gz
rust-a759565763c51ed856937d3a8b520d26e5270ba2.zip
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
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions