mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
e2554f1532
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> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |