2021-06-11 16:25:32 -05:00
|
|
|
disallowed-methods = [
|
2021-09-08 20:12:02 -05:00
|
|
|
# just a string is shorthand for path only
|
2021-06-11 16:25:32 -05:00
|
|
|
"std::iter::Iterator::sum",
|
2021-12-09 14:42:44 -06:00
|
|
|
"f32::clamp",
|
|
|
|
"slice::sort_unstable",
|
2021-09-08 20:12:02 -05:00
|
|
|
# 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" },
|
2021-06-11 16:25:32 -05:00
|
|
|
]
|