Rust
Equality assertion can be simplified
Info
New
Last modified: 03 December 2024 Detect assert!(a == b)
(and assert!(a != b)
) macro call that can be simplified into assert_eq!(a, b)
(or assert_ne!(a, b)
).
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
RsAssertEqual
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Rust, 243.22831 |
Thanks for your feedback!
Was this page helpful?