This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
3705073a71
rust
/
tests
/
ui-toml
/
item_name_repetitions
/
allowed_prefixes_extend
/
clippy.toml
2 lines
33 B
TOML
Raw
Normal View
History
Unescape
Escape
Recognize common prefixes when checking for items with module name suffix 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
2024-03-27 06:58:26 -05:00
allowed-prefixes
=
[
".."
,
"bar"
]
Reference in New Issue
Copy Permalink