about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-02 13:11:21 +0000
committerbors <bors@rust-lang.org>2022-10-02 13:11:21 +0000
commitd6d5ecd625014ab797a1f5b04b7cee4d186f04b7 (patch)
tree090c233310a12b675d34a797db82aa1a5945d12e /tests/codegen/src-hash-algorithm
parent5d837b58f7b534ef78f2144b79ad71f21148df1b (diff)
parenteef5d477b59a3b68bca9c1f3a5334229fc0ad9b6 (diff)
downloadrust-d6d5ecd625014ab797a1f5b04b7cee4d186f04b7.tar.gz
rust-d6d5ecd625014ab797a1f5b04b7cee4d186f04b7.zip
Auto merge of #9571 - rust-lang:refactor-lit-ints, r=Jarcho
use `is_integer_literal` more

I noticed that we have the `is_integer_literal` function in our `clippy_utils`, yet almost everywhere people still match int literal expressions manually. So I searched for instances to replace and shorten the code a bit.

---

changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions