From f4e4331021fd8cbd190b5bf679e1d14626851df2 Mon Sep 17 00:00:00 2001 From: Niels Saurer Date: Tue, 18 Jul 2023 14:44:35 +0000 Subject: [PATCH] update internal docs --- experimental/unicodeset_parser/src/parse.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/experimental/unicodeset_parser/src/parse.rs b/experimental/unicodeset_parser/src/parse.rs index d6c0177a087..f1453a762e0 100644 --- a/experimental/unicodeset_parser/src/parse.rs +++ b/experimental/unicodeset_parser/src/parse.rs @@ -727,8 +727,7 @@ where } // parses a variable or an anchor. expects '$' as next token. - // is 'context-sensitive' to avoid duplicate work - // if this is a trailing $ (eg [.... $ ]), then this function returns Ok(None), + // if this is a single $ (eg `[... $ ]` or the invalid `$ a`), then this function returns Ok(None), // otherwise Ok(Some(variable_value)). fn parse_variable(&mut self) -> Result<(usize, Option<&'a VariableValue<'a>>)> { self.consume('$')?;