mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
Currently, we ignore clippy::needless_return, with many violations in the code base. This CL fixes trivial, safe-to-fix violations of needless_return. These were found by removing the needless_return suppression in .cargo/config.toml and then fixing needless returns. These are not all needless returns in the code base; it is only the trivial fixes. This CL is a part of a chain of CLs to fix the needless_returns in the code base. BUG=chromium:908640, b:157245930 TEST=cargo clippy + cargo build Change-Id: I6f8f3a0bed25d774fba7ae4b6e4c021af439ec22 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4014832 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Clarissa Garvey <clarissagarvey@chromium.org> |
||
---|---|---|
.. | ||
acpi.rs | ||
bootparam.rs | ||
bzimage.rs | ||
cpuid.rs | ||
fdt.rs | ||
gdt.rs | ||
interrupts.rs | ||
lib.rs | ||
mpspec.rs | ||
mptable.rs | ||
msr.rs | ||
msr_index.rs | ||
regs.rs | ||
smbios.rs |