nushell/crates/nu-command/src/strings/encode_decode
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
..
base64.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
decode_base64.rs Change instances of Value::string("foo", Span::test_data()) to Value::test_string("foo") (#7592) 2022-12-24 10:25:38 +01:00
decode.rs Disallow encode's silent conversion to HTML entities (and add -i/--ignore-errors flag to re-allow it) (#7738) 2023-01-12 15:00:17 -06:00
encode_base64.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
encode.rs Disallow encode's silent conversion to HTML entities (and add -i/--ignore-errors flag to re-allow it) (#7738) 2023-01-12 15:00:17 -06:00
encoding.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
mod.rs Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00