about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-09 19:40:21 +0000
committerbors <bors@rust-lang.org>2022-12-09 19:40:21 +0000
commitef2018cc49ea1c5d0be5114c3e29a7f4fc10cc6e (patch)
treed23a2fbc95f3a905b1d3b2afa9d9d5c6fec34087 /library/std/src/sys/unix/stack_overflow.rs
parent3492856c0726d16ac3bf17ec1d393506b10150a3 (diff)
parent4c80f210c38b78ddce983c2db16132a37bffd829 (diff)
downloadrust-ef2018cc49ea1c5d0be5114c3e29a7f4fc10cc6e.tar.gz
rust-ef2018cc49ea1c5d0be5114c3e29a7f4fc10cc6e.zip
Auto merge of #10043 - phtown:master, r=Jarcho
Add lint `almost_complete_digit_range`

changelog: [`almost_complete_digit_range`]: Add digit analog to `almost_complete_letter_range`

I have added a lint that will detect `'0'..'9'` and suggest converting it to `'0'..='9'`, the same way `almost_complete_letter_range` does for ascii letters. I tied into the implementation of `AlmostCompleteLetterRange` in order to do that, but I didn't change its interface.
This is my first contribution to Clippy, so please let me know if there's anything I should do differently. I'll be happy to incorporate any suggestions you have.
Thanks!
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions