about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-06 00:53:47 +0200
committerGitHub <noreply@github.com>2020-04-06 00:53:47 +0200
commit269eeea15d1a754bd26051618dab8e787ab11aa3 (patch)
tree0403aabc590f2326a1da575acf39ce3dda662dd6 /src/rustllvm/RustWrapper.cpp
parent618ba73b3150ad19979aad96f20506953544122e (diff)
parent28c9231a91b9c4708be2c0ff89204d707b53cc06 (diff)
downloadrust-269eeea15d1a754bd26051618dab8e787ab11aa3.tar.gz
rust-269eeea15d1a754bd26051618dab8e787ab11aa3.zip
Rollup merge of #70782 - faern:use-assoc-float-consts, r=dtolnay
Stop importing the float modules in documentation

Follow up to #69860. I realized I had not searched for and fixed this for the float values. So with this PR they also use the associated constants instead of the module level constants.

For the documentation where it also was using the `consts` submodule I opted to change it to import that directly. This becomes more in line with how other docs that use the `consts` submodule looks. And it also makes it so there are not two `f32` or `f64` things in the current namespace (both the module and the primitive type) and then hopefully confusing documentation readers less.

r? @dtolnay
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions