mirror of
https://github.com/simonask/libyaml-safer
synced 2024-11-22 03:13:10 +00:00
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:
parent
37ccd89b21
commit
6a235b324e
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#![allow(clippy::uninlined_format_args)]
|
||||
|
||||
use anyhow::Result;
|
||||
use flate2::read::GzDecoder;
|
||||
use std::fs;
|
||||
|
|
Loading…
Reference in a new issue