From b6d0d9cec4f477b3280378929a0e58bad97648c8 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Thu, 25 Feb 2021 11:24:35 -0500 Subject: [PATCH] rust: Disable Byte Grouping Linter Disable the byte grouping clippy lint by default. In some cases it makes sense to group bytes in a protocol-specific fashion, so let's not error on this lint. Bug: 181171365 Test: Clippy allows this lint. Change-Id: I2705dc7fa901b997bcb01f1256d48e85ce35065c --- rust/config/lints.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/config/lints.go b/rust/config/lints.go index ac8165b22..7c05e4f1d 100644 --- a/rust/config/lints.go +++ b/rust/config/lints.go @@ -53,6 +53,7 @@ var ( defaultClippyLints = []string{ "-A clippy::type-complexity", "-A clippy::unnecessary-wraps", + "-A clippy::unusual-byte-groupings", } // Rust lints for vendor code.