Skip to content

Commit 6b47bbd

Browse files
committed
Temporarily defer uninlined_format_args clippy lint in demo
warning: variables can be used directly in the `format!` string --> demo/src/main.rs:51:5 | 51 | println!("blobid = {}", blobid); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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::all` = help: to override `-W clippy::all` add `#[allow(clippy::uninlined_format_args)]` help: change this to | 51 - println!("blobid = {}", blobid); 51 + println!("blobid = {blobid}"); |
1 parent 2c9150b commit 6b47bbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demo/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::uninlined_format_args)]
2+
13
#[cxx::bridge(namespace = "org::blobstore")]
24
mod ffi {
35
// Shared structs with fields visible to both languages.

0 commit comments

Comments
 (0)