nushell/crates/nu-command/src/platform
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 Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
reedline_commands Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
clear.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
dir_info.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
du.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
input.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
kill.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
mod.rs Ansi link (#7751) 2023-01-15 17:23:37 +02:00
sleep.rs Add helper method to check whether ctrl+c was pressed, adopt it (#7482) 2022-12-15 09:39:24 -08:00
term_size.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00