nushell/crates/nu-protocol/src/ast
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
..
block.rs Limit recursion to avoid stack overflow (#7657) 2023-01-04 18:38:50 -08:00
call.rs Remove shape-directed import pattern parsing (#7570) 2022-12-22 16:36:13 +02:00
cell_path.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
expr.rs Make external command substitution works friendly(like fish shell, trailing ending newlines) (#7156) 2022-11-23 16:51:57 +13:00
expression.rs Add logical xor operator (#7242) 2022-11-26 17:02:37 +01:00
import_pattern.rs Protocol: debug_assert!() Span to reflect a valid slice (#6806) 2022-12-03 11:44:12 +02:00
mod.rs Remove statements, replaced by pipelines (#4482) 2022-02-15 14:31:14 -05:00
operator.rs ++= appendAssign operator (#7346) (#7354) 2022-12-09 11:20:58 -05:00
pipeline.rs Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00