nushell/crates/nu-command/src/date
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
..
date_.rs Add extra_usage messages for subcommand-only commands (#7594) 2022-12-24 07:16:29 -06:00
format.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
humanize.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
list_timezone.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs Add 'date to-record' (#5058) 2022-04-01 21:09:30 +13:00
now.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
parser.rs Port date commands to engine-q 2021-10-31 07:54:51 +01:00
to_record.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
to_table.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
to_timezone.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
utils.rs Date parse refactor (#4661) 2022-02-27 20:21:46 -05:00