Skip to content

Commit 7fc4dd2

Browse files
authored
Merge pull request #480 from RedisLabsModules/memark-fix-lint
Fix clippy lint
2 parents 0fa3543 + 9afeaa7 commit 7fc4dd2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/proc_macro_commands.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ struct RedisValueDerive {
2626
}
2727

2828
#[derive(RedisValue)]
29+
// The size difference between the variants is irrelevant in an example.
30+
#[allow(clippy::large_enum_variant)]
2931
enum RedisValueEnum {
3032
Str(String),
3133
RedisValue(RedisValueDerive),

0 commit comments

Comments
 (0)