diff options
Diffstat (limited to 'src/yellow/green.rs')
-rw-r--r-- | src/yellow/green.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/yellow/green.rs b/src/yellow/green.rs index ede23b719..dafe1bb22 100644 --- a/src/yellow/green.rs +++ b/src/yellow/green.rs | |||
@@ -116,13 +116,6 @@ impl GreenNode { | |||
116 | GreenNodeData::Branch(_) => false | 116 | GreenNodeData::Branch(_) => false |
117 | } | 117 | } |
118 | } | 118 | } |
119 | |||
120 | pub(crate) fn leaf_text(&self) -> &str { | ||
121 | match &self.data { | ||
122 | GreenNodeData::Leaf(l) => l.text.as_str(), | ||
123 | GreenNodeData::Branch(_) => panic!("not a leaf") | ||
124 | } | ||
125 | } | ||
126 | } | 119 | } |
127 | 120 | ||
128 | #[derive(Debug)] | 121 | #[derive(Debug)] |