nushell/crates/nu-command/src
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
..
bits Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
bytes Add Github Actions workflow to check for typos (#7892) 2023-01-29 10:22:56 +13:00
charting Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
conversions Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
core_commands Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
database Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
dataframe with the release of rust 1.67, let's bump to 1.66.1 (#7866) 2023-01-26 15:31:17 -06:00
date Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
deprecated fetch -> http get and post -> http post (#7796) 2023-01-20 10:38:30 -08:00
env Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
experimental Change instances of Value::string("foo", Span::test_data()) to Value::test_string("foo") (#7592) 2022-12-24 10:25:38 +01:00
filesystem Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
filters Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
formats Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
generators Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
hash Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
math Fix typos and use more idiomatic assertions (#7755) 2023-01-15 15:03:32 +13:00
misc Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
network Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
path Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
platform Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
random Add search terms in random and expression categories (#7736) 2023-01-12 14:01:40 +01:00
shells Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
strings Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
system Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
viewers Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
default_context.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
example_test.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
input_handler.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
lib.rs Progress bar Implementation (#7661) 2023-01-10 20:57:48 -05:00
progress_bar.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
sort_utils.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00