Skip to content

Commit e731337

Browse files
committed
Updated documentation
1 parent 6298c3d commit e731337

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

rusty_parser/src/expr/parsers.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ pub fn expression_pos_p() -> impl Parser<StringView, Output = ExpressionPos, Err
4444
/// or is a parenthesis expression.
4545
///
4646
/// ```text
47-
/// <ws> <expr-not-in-parenthesis> |
48-
/// <ws> <expr-in-parenthesis> |
49-
/// <expr-in-parenthesis>
47+
/// <expr-in-parenthesis> |
48+
/// <ws> <expr>
5049
/// ```
5150
pub fn ws_expr_pos_p() -> impl Parser<StringView, Output = ExpressionPos, Error = ParserError> {
5251
super::parenthesis::parser().or(lead_ws(expression_pos_p()))

0 commit comments

Comments
 (0)