mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
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:
parent
d611f27cb1
commit
35ee9d9184
2 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@ SUPPRESS=(
|
|||
question_mark
|
||||
range_plus_one
|
||||
unit_arg
|
||||
useless_format
|
||||
|
||||
# To be resolved or suppressed locally.
|
||||
cast_ptr_alignment
|
||||
|
|
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue