Skip to content

Commit

Permalink
update internal docs
Browse files Browse the repository at this point in the history
  • Loading branch information
skius committed Jul 18, 2023
1 parent f776a11 commit f4e4331
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions experimental/unicodeset_parser/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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('$')?;
Expand Down

0 comments on commit f4e4331

Please sign in to comment.