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.
Clone
Rule
1 parent 4ce41f2 commit 3fb6d22Copy full SHA for 3fb6d22
src/tools/rust-analyzer/lib/ungrammar/src/lib.rs
@@ -101,7 +101,7 @@ pub struct TokenData {
101
}
102
103
/// A production rule.
104
-#[derive(Debug, Eq, PartialEq)]
+#[derive(Debug, Clone, Eq, PartialEq)]
105
pub enum Rule {
106
/// A labeled rule, like `a:B` (`"a"` is the label, `B` is the rule).
107
Labeled {
0 commit comments