diff options
Diffstat (limited to 'crates/mbe/src/subtree_source.rs')
-rw-r--r-- | crates/mbe/src/subtree_source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mbe/src/subtree_source.rs b/crates/mbe/src/subtree_source.rs index 38237cdcf..ccc56c479 100644 --- a/crates/mbe/src/subtree_source.rs +++ b/crates/mbe/src/subtree_source.rs | |||
@@ -21,7 +21,7 @@ pub(crate) struct SubtreeTokenSource<'a> { | |||
21 | impl<'a> SubtreeTokenSource<'a> { | 21 | impl<'a> SubtreeTokenSource<'a> { |
22 | // Helper function used in test | 22 | // Helper function used in test |
23 | #[cfg(test)] | 23 | #[cfg(test)] |
24 | pub fn text(&self) -> SmolStr { | 24 | pub(crate) fn text(&self) -> SmolStr { |
25 | match *self.get(self.curr.1) { | 25 | match *self.get(self.curr.1) { |
26 | Some(ref tt) => tt.text.clone(), | 26 | Some(ref tt) => tt.text.clone(), |
27 | _ => SmolStr::new(""), | 27 | _ => SmolStr::new(""), |