Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve uninlined_format_args pedantic clippy lint in test suite
error: variables can be used directly in the `format!` string --> test_suite/tests/test_annotations.rs:1238:30 | 1238 | serializer.serialize_str(format!("{};{:?}", f1, f2).as_str()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 | 1238 - serializer.serialize_str(format!("{};{:?}", f1, f2).as_str()) 1238 + serializer.serialize_str(format!("{f1};{f2:?}").as_str()) |
- Loading branch information