crosvm/msg_socket/msg_on_socket_derive
Alexandre Courbot 23be1ee5f8 msg_socket: use is_empty() instead of testing for zero-length
This makes clippy happy and compilation goes without warning.

BUG=None
TEST=crosvm builds.

Change-Id: Iacfca0615f055ce333baf135900b3bd04bcd29f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2505274
Tested-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
2020-10-29 19:25:03 +00:00
..
Cargo.toml Update syn, quote, and proc-macro past 1.0 2020-02-06 05:28:15 +00:00
msg_on_socket_derive.rs msg_socket: use is_empty() instead of testing for zero-length 2020-10-29 19:25:03 +00:00