mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-22 07:31:17 -03:00
We should probably be using `disallowed-methods` more; this is one I had locally before `clippy.toml` was included in the repo.
7 lines
226 B
TOML
7 lines
226 B
TOML
allow-print-in-tests = true
|
|
disallowed-methods = [
|
|
# Not allowed to use libc::setlocale() directly, need to use the wrappers
|
|
# in src/locale.rs which takes a lock for the duration of the call.
|
|
"libc::setlocale",
|
|
]
|