about summary refs log tree commit diff
path: root/tests/codegen/integer-overflow.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-29 15:36:12 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-29 18:00:35 +1000
commit4dec0a0e9938c0762b6bfcce8b611d5096e32880 (patch)
treeee6cab71c0854691c920c4075024109c58d91122 /tests/codegen/integer-overflow.rs
parenta22cfccca2a80d15f6b015697e0ada9379d16f73 (diff)
downloadrust-4dec0a0e9938c0762b6bfcce8b611d5096e32880.tar.gz
rust-4dec0a0e9938c0762b6bfcce8b611d5096e32880.zip
Clarify the closure in `rustfmt`.
- Avoid calling `try_wait` followed immediately by `wait`.
- Make the match exhaustive.
- Improve the comment.
Diffstat (limited to 'tests/codegen/integer-overflow.rs')
0 files changed, 0 insertions, 0 deletions