diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-05 01:49:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-05 01:49:41 +0200 |
| commit | db7b38181c9f0b0347453780eb61c66d00bc95b9 (patch) | |
| tree | 50911ff3b8cea0deb6ac976813905a76f7f28e78 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 04776b15a782697311058183b04f67132fd0df0d (diff) | |
| parent | 55e37f9f02af4eec5c52413e3219bef838beadab (diff) | |
| download | rust-db7b38181c9f0b0347453780eb61c66d00bc95b9.tar.gz rust-db7b38181c9f0b0347453780eb61c66d00bc95b9.zip | |
Rollup merge of #71845 - steveklabnik:add-const-examples, r=dtolnay
Add const examples I only added them to `std::f32` to get feedback on this approach before adding the other constants. When looking at https://github.com/rust-lang/rust/pull/68952, I found the docs a little confusing. Unless you're intimately aware of what's going on here, I don't think it's super clear what is deprecated and what you're supposed to do instead. I think short examples really clarify what's meant here, so that's what I did.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
