rustfmt: wrap comments

Tests: presubmit
Change-Id: Ie759b0b788440986783f3b7de4eeca8d5ceeaa92
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5297986
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Kaiyi Li <kaiyili@google.com>
This commit is contained in:
Kaiyi Li 2024-02-14 15:43:09 -08:00 committed by crosvm LUCI
parent c28067d1d9
commit 413c388d5e
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,8 @@
imports_granularity = "item"
group_imports = "StdExternalCrate"
unstable_features = true
wrap_comments = true
comment_width = 100
use_field_init_shorthand = true
use_try_shorthand = true
edition = "2021"

View file

@ -1331,6 +1331,7 @@ mod tests {
// Top 8 bits of ICR high are the destination.
a.write(Reg::INTERRUPT_COMMAND_HI as u64, &[0, 0, 0, 42]);
#[rustfmt::skip]
let msg = a.write(
Reg::INTERRUPT_COMMAND_LO as u64,
&[