clippy: Resolve useless_format

TEST=bin/clippy

Change-Id: I13fcde5655f9f9c207c9a704fa32b99510946a1e
Reviewed-on: https://chromium-review.googlesource.com/1566893
Commit-Ready: David Tolnay <dtolnay@chromium.org>
Tested-by: David Tolnay <dtolnay@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
David Tolnay 2019-04-12 19:50:36 -07:00 committed by chrome-bot
parent d611f27cb1
commit 35ee9d9184
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,6 @@ SUPPRESS=(
question_mark
range_plus_one
unit_arg
useless_format
# To be resolved or suppressed locally.
cast_ptr_alignment

View file

@ -253,7 +253,7 @@ impl PciConfigMmio {
impl BusDevice for PciConfigMmio {
fn debug_label(&self) -> String {
format!("pci config mmio")
"pci config mmio".to_owned()
}
fn read(&mut self, offset: u64, data: &mut [u8]) {