Michael Wright
e8c4046841
Simplify FullInt Ord impl
...
`cmp_s_u` is a tiny helper function only used by `cmp` and isn't useful on
it's own. Making it a nested function of `cmp` makes that clear and as a
bonus it's easier to call and doesn't require a `#[must_use]` attribute.
2021-10-30 06:22:19 +02:00
Michael Wright
4a86156c66
Simplify FullInt Ord impl (2)
2021-10-30 06:22:19 +02:00
Michael Wright
c6dca68eca
Simplify FullInt Ord impl
2021-10-30 06:22:19 +02:00
Michael Wright
c8edd9a16e
Remove casts from FullInt impl
2021-10-30 06:22:19 +02:00
Michael Wright
665ff57fde
Remove expects from FullInt Partial{Ord,Eq}
2021-10-30 06:22:19 +02:00
Michael Wright
4679eb3a0d
Move const int value code to utils
2021-10-20 06:13:42 +02:00
lcnr
19d1fe21c7
make unevaluated const substs optional
2021-08-26 11:00:30 +02:00
Frank Steffahn
c86071898f
Fix typos “a”→“an”
2021-08-22 15:35:11 +02:00
flip1995
ebe52869a3
Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup
2021-07-01 18:17:38 +02:00
flip1995
6c27482115
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
2021-06-03 08:41:37 +02:00
flip1995
f6d1f368db
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
2021-04-08 17:50:13 +02:00
Josh Stone
0dddfbf9bf
Use iter::zip in src/tools/clippy/
2021-03-26 09:33:38 -07:00
lcnr
731c98b16b
update const_eval_resolve
2021-03-20 17:22:24 +01:00
flip1995
f64149dd04
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
2021-02-25 11:25:22 +01:00