[board] Fix a handful of linter warnings by allowing them
The linter also requires non-compliant formatting of the constants produced in the coordinate_enum macro to be marked as allowed.
This commit is contained in:
parent
b62cd1fcd2
commit
8cc7e64ba6
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ macro_rules! coordinate_enum {
|
|||
const $variant: usize = $name::$variant as usize;
|
||||
)*
|
||||
|
||||
#[allow(non_upper_case_globals)]
|
||||
match index {
|
||||
$($variant => Some($name::$variant),)*
|
||||
_ => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue