crosvm/net_util
Clarissa Garvey e2554f1532 LSC: safe removal of needless_returns
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>
2022-11-09 18:27:14 +00:00
..
src LSC: safe removal of needless_returns 2022-11-09 18:27:14 +00:00
tests net_util: Extract integration_test 2022-11-03 23:29:15 +00:00
build.rs net_util: Add windows slirp support 2022-10-11 15:25:38 +00:00
Cargo.toml Add --net option to the crosvm run command 2022-10-19 02:18:27 +00:00
prebuilts_version net_util: Add windows slirp support 2022-10-11 15:25:38 +00:00