David Tolnay caef3c6ea6
Ignore uninlined_format_args pedantic clippy lint
warning: variables can be used directly in the `format!` string
       --> src/ser.rs:448:15
        |
    448 |         match write!(adapter, "{}", value) {
        |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
        = note: `-W clippy::uninlined-format-args` implied by `-W clippy::pedantic`
        = help: to override `-W clippy::pedantic` add `#[allow(clippy::uninlined_format_args)]`
    help: change this to
        |
    448 -         match write!(adapter, "{}", value) {
    448 +         match write!(adapter, "{value}") {
        |

    warning: variables can be used directly in the `format!` string
       --> src/value/mod.rs:182:37
        |
    182 |             Value::Bool(boolean) => write!(formatter, "Bool({})", boolean),
        |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    help: change this to
        |
    182 -             Value::Bool(boolean) => write!(formatter, "Bool({})", boolean),
    182 +             Value::Bool(boolean) => write!(formatter, "Bool({boolean})"),
        |

    warning: variables can be used directly in the `format!` string
       --> src/value/mod.rs:184:38
        |
    184 |             Value::String(string) => write!(formatter, "String({:?})", string),
        |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    help: change this to
        |
    184 -             Value::String(string) => write!(formatter, "String({:?})", string),
    184 +             Value::String(string) => write!(formatter, "String({string:?})"),
        |

    warning: variables can be used directly in the `format!` string
       --> src/number.rs:365:9
        |
    365 |         write!(formatter, "Number({})", self)
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    help: change this to
        |
    365 -         write!(formatter, "Number({})", self)
    365 +         write!(formatter, "Number({self})")
        |
2025-09-13 16:34:07 -07:00
..
2025-01-23 01:40:57 -08:00
2024-09-04 15:31:51 -07:00