We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96dbea8 commit b53daeeCopy full SHA for b53daee
src/lib.rs
@@ -149,8 +149,9 @@
149
150
#![cfg_attr(not(feature = "std"), no_std)]
151
#![allow(clippy::upper_case_acronyms)]
152
-// The AST represents rich AST nodes,
153
-// and favors expressiveness and ease of use over speed and memory usage.
+// Permit large enum variants to keep a unified, expressive AST.
+// Splitting complex nodes (expressions, statements, types) into separate types
154
+// would bloat the API and hide intent. Extra memory is a worthwhile tradeoff.
155
#![allow(clippy::large_enum_variant)]
156
157
// Allow proc-macros to find this crate
0 commit comments