about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-03 22:55:02 +0200
committerGitHub <noreply@github.com>2020-04-03 22:55:02 +0200
commit9b22fdc121abfd860e2b7c753aa254f2bf29a1a8 (patch)
tree31dbf4ff88f7c4d9a709ee1643761f9294c1ee88 /src/libstd/sys
parentf6fe99c798cb65280a9a56f442b371adcb7b8aa2 (diff)
parentc8312659403397c9fe4fcb2fd006268a7031d7a8 (diff)
downloadrust-9b22fdc121abfd860e2b7c753aa254f2bf29a1a8.tar.gz
rust-9b22fdc121abfd860e2b7c753aa254f2bf29a1a8.zip
Rollup merge of #69860 - faern:use-assoc-int-consts, r=dtolnay
Use associated numeric consts in documentation

Now when the associated constants on int/float types are stabilized and the recommended way of accessing said constants (#68952). We can start using it in this repository, and recommend it via documentation example code.

This PR is the reincarnation of #67913 minus the actual adding + stabilization of said constants. (EDIT: Now it's only changing the documentation. So users will see the new consts, but we don't yet update the internal code)

Because of how fast bit rot happens to PRs that touch this many files, it does not try to replace 100% of the old usage of the constants in the entire repo, but a good chunk of them.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions