diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-10 21:12:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 21:12:26 +0200 |
| commit | 146f4b316e6398d3e5d7a259abc0543ce875c21e (patch) | |
| tree | da418e43bd8ab0e492448afada36a2e7caa0c063 /compiler/rustc_llvm | |
| parent | 07bb7ca9fabdc2f6483703bc43514fd6af386893 (diff) | |
| parent | 041e204e0d487e633c40709cb4c1f4535145c016 (diff) | |
| download | rust-146f4b316e6398d3e5d7a259abc0543ce875c21e.tar.gz rust-146f4b316e6398d3e5d7a259abc0543ce875c21e.zip | |
Rollup merge of #126191 - ivan-shrimp:nonzero_doc, r=scottmcm
Fix `NonZero` doctest inconsistencies
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.
This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using
r? <reviewer name>
-->
`NonZero`'s doctests contain both `?` and `.unwrap()` with no obvious reason for the difference, so this changes all of them to `?`. Also removes an explicit `std::num::NonZero`.
Diffstat (limited to 'compiler/rustc_llvm')
0 files changed, 0 insertions, 0 deletions
