crosvm/devices/src/usb/xhci
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
..
command_ring_controller.rs clippy: Resolve unused_unit 2019-04-17 17:22:56 -07:00
device_slot.rs clippy: Resolve clone_on_copy 2019-04-17 17:22:49 -07:00
event_ring.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
interrupter.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
intr_resample_handler.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
mod.rs implement xhci and add it to pci bus 2019-03-17 21:33:08 -07:00
ring_buffer.rs clippy: Resolve single_match 2019-04-17 17:22:54 -07:00
ring_buffer_controller.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
ring_buffer_stop_cb.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
scatter_gather_buffer.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
transfer_ring_controller.rs clippy: Resolve unused_unit 2019-04-17 17:22:56 -07:00
usb_hub.rs clippy: Resolve block_in_if_condition_stmt 2019-04-17 17:22:49 -07:00
xhci.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
xhci_abi.rs
xhci_abi_schema.rs
xhci_backend_device.rs usb: add usb hub, transfer and usb backend interface 2019-03-16 15:25:22 -07:00
xhci_backend_device_provider.rs edition: Use 2018-style paths in devices crate 2019-04-09 22:08:37 -07:00
xhci_controller.rs clippy: Resolve unneeded_field_pattern 2019-04-17 17:22:55 -07:00
xhci_regs.rs edition: Use 2018-style paths in devices crate 2019-04-09 22:08:37 -07:00
xhci_transfer.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00