nushell/crates/nu-color-config/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
..
color_config.rs nu-explore/ Fix configuration issues (#7520) 2022-12-19 11:34:21 -06:00
lib.rs color_config now accepts closures as color values (#7141) 2022-12-17 07:07:56 -06:00
matching_brackets_style.rs Highlight matching brackets / parentheses (#6655) 2022-10-22 11:55:45 -05:00
nu_style.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
shape_color.rs Fix #7551 record support in color_config (#7567) 2022-12-22 12:55:50 +01:00
style_computer.rs Add 'number' command for enumeration (#7871) 2023-01-28 06:45:57 +13:00
text_style.rs color_config now accepts closures as color values (#7141) 2022-12-17 07:07:56 -06:00