crosvm/src
David Tolnay 1c5e2557e2 edition: Eliminate blocks superseded by NLL
Before the new borrow checker in the 2018 edition, we sometimes used to
have to manually insert curly braced blocks to limit the scope of
borrows. These are no longer needed.

Details in:

https://doc.rust-lang.org/edition-guide/rust-2018/ownership-and-lifetimes/non-lexical-lifetimes.html

TEST=cargo check --all-features
TEST=local kokoro

Change-Id: I59f9f98dcc03c8790c53e080a527ad9b68c8d6f3
Reviewed-on: https://chromium-review.googlesource.com/1568075
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>
2019-04-17 17:22:57 -07:00
..
plugin edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
argument.rs main: add --cpu-affinity option to pin VCPUs 2019-04-09 06:20:04 -07:00
linux.rs clippy: Resolve redundant_closure 2019-04-17 17:22:53 -07:00
main.rs clippy: Resolve redundant_closure 2019-04-17 17:22:53 -07:00
panic_hook.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00