This commit is contained in:
Stephen Chung 2020-11-16 23:17:34 +08:00
parent 272c8505b8
commit 699220057f

View File

@ -147,7 +147,7 @@ impl<'e> ParseState<'e> {
} }
/// Get an interned string, creating one if it is not yet interned. /// Get an interned string, creating one if it is not yet interned.
pub fn get_interned_string<S>( pub fn get_interned_string(
&mut self, &mut self,
text: impl AsRef<str> + Into<ImmutableString>, text: impl AsRef<str> + Into<ImmutableString>,
) -> ImmutableString { ) -> ImmutableString {