nushell/crates/nu-command/src/platform/ansi
Stefan Holderbach ab480856a5
Use variable names directly in the format strings (#7906)
# Description

Lint: `clippy::uninlined_format_args`

More readable in most situations.
(May be slightly confusing for modifier format strings
https://doc.rust-lang.org/std/fmt/index.html#formatting-parameters)

Alternative to #7865

# User-Facing Changes

None intended

# Tests + Formatting

(Ran `cargo +stable clippy --fix --workspace -- -A clippy::all -D
clippy::uninlined_format_args` to achieve this. Depends on Rust `1.67`)
2023-01-29 19:37:54 -06:00
..
ansi_.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
gradient.rs Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
link.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
mod.rs Ansi link (#7751) 2023-01-15 17:23:37 +02:00
strip.rs refactor: use input_handler::operate in ansi_strip command (#7888) 2023-01-28 08:11:21 -06:00