rust/clippy_lints
Samuel Tardieu a03242f8e0 Move manual_ok_or from pedantic to style
`manual_ok_or` covers the same case that were covered by
`option_map_or_err_ok` which is not deprecated. The latter was in the
"style" category. Also, the lint is machine applicable, and leads to
shorter and more readable code, so "style" is appropriate.

The only difference is that the η-expanded form of `Result::Ok()` was
not covered by `option_map_or_err_ok` while it is by `manual_ok_or`, so
the category change may expose some new occurrences.
2025-01-23 00:28:09 +01:00
..
src Move manual_ok_or from pedantic to style 2025-01-23 00:28:09 +01:00
Cargo.toml Select edition 2024 2025-01-13 16:55:42 +01:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.