mirror of
https://github.com/clap-rs/clap.git
synced 2026-01-25 03:26:18 +00:00
* style: Make clippy happy * chore(deps): Update Rust Stable to v1.93 --------- Co-authored-by: Ed Page <eopage@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
14 lines
797 B
TOML
14 lines
797 B
TOML
allow-print-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-unwrap-in-tests = true
|
|
allow-dbg-in-tests = true
|
|
disallowed-methods = [
|
|
{ path = "std::option::Option::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
|
|
{ path = "std::option::Option::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
|
|
{ path = "std::result::Result::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
|
|
{ path = "std::result::Result::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
|
|
{ path = "std::iter::Iterator::for_each", reason = "prefer `for` for side-effects" },
|
|
{ path = "std::iter::Iterator::try_for_each", reason = "prefer `for` for side-effects" },
|
|
]
|
|
doc-valid-idents = ["PowerShell", ".."]
|