mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 19:43:20 +00:00
3705073a71
Fixes #12544. - don't report an item name if it consists only of a prefix from `allowed-prefixes` list and a module name (e.g. `AsFoo` in module `foo`). - configured by `allowed-prefixes` config entry - prefixes allowed by default: [`to`, `from`, `into`, `as`, `try_into`, `try_from`] - update docs |
||
---|---|---|
.. | ||
allowed_prefixes | ||
allowed_prefixes_extend | ||
threshold0 | ||
threshold5 |