nushell/crates/nu-command/src/bits
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
..
and.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
bits_.rs Add extra_usage messages for subcommand-only commands (#7594) 2022-12-24 07:16:29 -06:00
mod.rs add bits ror and bits rol commands (#6224) 2022-08-05 15:40:01 +02:00
not.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
or.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
rotate_left.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
rotate_right.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
shift_left.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
shift_right.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
xor.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00