There was an error while loading. Please reload this page.
2 parents 0fa3543 + 9afeaa7 commit 7fc4dd2Copy full SHA for 7fc4dd2
1 file changed
examples/proc_macro_commands.rs
@@ -26,6 +26,8 @@ struct RedisValueDerive {
26
}
27
28
#[derive(RedisValue)]
29
+// The size difference between the variants is irrelevant in an example.
30
+#[allow(clippy::large_enum_variant)]
31
enum RedisValueEnum {
32
Str(String),
33
RedisValue(RedisValueDerive),
0 commit comments