Skip to content

Commit 6b854a8

Browse files
authored
Fix clippy::large_enum_variant lint in cosmic-text example (#811)
Signed-off-by: Nico Burns <[email protected]>
1 parent a4b481f commit 6b854a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: examples/cosmic_text/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ impl CosmicTextContext {
4545
}
4646
}
4747

48+
#[allow(clippy::large_enum_variant)]
4849
enum NodeContext {
4950
Text(CosmicTextContext),
5051
Image(ImageContext),

0 commit comments

Comments
 (0)