y21
8859847373
redundant_guards: lint float literals, don't lint cstr literals
2024-11-17 04:14:27 +01:00
y21
790fb9396a
check for matches! macro directly in redundant_guards
2024-05-02 05:05:26 +02:00
not-elm
5a63cd82cb
FIX(12243): redundant_guard
...
A warning is now suppressed when "<str_va> if <str_var>.is_empty" is used in a constant function.
FIX: instead of clippy_util::in_const
FIX: Merged `redundant_guards_const_fn.rs` into `redundant_guards.rs`.
2024-02-25 15:38:18 +09:00
Alex Macleod
b32d7c0631
Allow negative literals in redundant_guards
2024-02-14 13:31:02 +00:00
y21
1b4e2ef3d7
fix empty needle corner case and add tests
2023-11-15 21:10:03 +01:00
Philipp Krones
62a82b361c
Format let-chains across the code base
...
In the updated nightly version, it seems that rustfmt now supports formatting
let-chains. Since we're using them a lot, it's a lot of reformatting.
2023-11-02 17:24:30 +01:00
Philipp Krones
772296c50e
Merge commit ' 7671c283a5' into clippyup
2023-09-25 11:28:58 +02:00
Philipp Krones
cc61aeea54
Merge commit ' 080b587854' into clippyup
2023-08-24 21:32:12 +02:00
Philipp Krones
f730a2655a
Merge commit ' 1e8fdf4928' into clippyup
2023-08-11 14:05:13 +02:00
Philipp Krones
b0e64a9c09
Merge commit ' 5436dba826' into clippyup
2023-07-31 23:53:53 +02:00