mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
8 lines
311 B
TOML
8 lines
311 B
TOML
disallowed-methods = [
|
|
# just a string is shorthand for path only
|
|
"std::iter::Iterator::sum",
|
|
# can give path and reason with an inline table
|
|
{ path = "regex::Regex::is_match", reason = "no matching allowed" },
|
|
# can use an inline table but omit reason
|
|
{ path = "regex::Regex::new" },
|
|
]
|