Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Jul 20, 2024
1 parent ebc522b commit 5be0903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wright/src/parser/whitespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn optional_whitespace(parser: &mut Parser) {
}

/// Require a whitespace from the [Parser]. Do not advance if the next [Token] is not a whitespace.
///
///
/// [Token]: crate::lexer::token::Token
pub fn require_whitespace(parser: &mut Parser) -> Result<(), ParserError> {
if parser.next_if_is(TokenTy::Whitespace).is_none() {
Expand Down

0 comments on commit 5be0903

Please sign in to comment.