Skip to content

Commit a88ba95

Browse files
Rollup merge of #131733 - practicalrs:fix_uninlined_format_args, r=jieyouxu
Fix uninlined_format_args in stable_mir Hi, This PR fixes some clippy warnings ``` warning: variables can be used directly in the `format!` string --> compiler/stable_mir/src/mir/pretty.rs:362:13 | 362 | write!(writer, "{kind}{:?}", place) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: requested on the command line with `-W clippy::uninlined-format-args` help: change this to | 362 - write!(writer, "{kind}{:?}", place) 362 + write!(writer, "{kind}{place:?}") | ``` Best regards, Michal
2 parents bd5dc39 + 588d74d commit a88ba95

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)