Ignore uninlined_format_args pedantic clippy lint

error: variables can be used directly in the `format!` string
      --> tests/data/build.rs:24:18
       |
    24 |     let prefix = format!("yaml-test-suite-{}", TAG);
       |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
       = note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic`
    help: change this to
       |
    24 -     let prefix = format!("yaml-test-suite-{}", TAG);
    24 +     let prefix = format!("yaml-test-suite-{TAG}");
       |
This commit is contained in:
David Tolnay 2022-10-07 22:25:29 -07:00
parent 37ccd89b21
commit 6a235b324e
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
use anyhow::Result;
use flate2::read::GzDecoder;
use std::fs;