nushell/crates/nu-command/src/strings
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
..
encode_decode Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
format Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
split fetch -> http get and post -> http post (#7796) 2023-01-20 10:38:30 -08:00
str_ Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
char_.rs Standardise the use of ShellError::UnsupportedInput and ShellError::TypeMismatch and add spans to every instance of the former (#7217) 2022-12-23 01:48:53 -05:00
detect_columns.rs Remove unnecessary echo uses from examples (#7500) 2022-12-16 11:51:00 -05:00
mod.rs Add Github Actions workflow to check for typos (#7892) 2023-01-29 10:22:56 +13:00
parse.rs make parse -r columns return 0-indexed uncapitalised (#7897) 2023-01-29 07:34:34 -06:00
size.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00