Manual assert_eq! (enhance if_then_panic
)
#7716
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good first issue
These issues are a good way to get started with Clippy
Uh oh!
There was an error while loading. Please reload this page.
We just added
if_then_panic
, but then I realized there's a possible enhancement forassert_eq!
/assert_ne!
:I think a rename to
manual_assert
would be best. But we could also keep the current name (it still kinda makes sense) or create a new lint for this case.The text was updated successfully, but these errors were encountered: