-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics: tests: replace .get(N).unwrap() with array indexing
This is more concise and accomplishes the same thing. It also incidentally avoids a clippy warning about using .get(0) instead of .first(). BUG=b:344974550 TEST=tools/clippy Change-Id: Ie8575f63ca7aacd91123c81a6f533b4a2d1408d2 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5598299 Commit-Queue: Daniel Verkamp <[email protected]> Reviewed-by: Noah Gold <[email protected]>
- Loading branch information
1 parent
24d6063
commit 642f964
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters