mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
7666fbc7eb
Rather than constructing a bunch of String objects with format!() and then concatenating them all with collect() at the end, use fold() and write!() to append onto a single String instance. This is suggested by a new Rust 1.73 clippy lint. <https://rust-lang.github.io/rust-clippy/master/index.html#/format_collect> Change-Id: If9bcc9fa579228618a7cb6f3602793f2287d97c4 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5005519 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |