Skip to content

Commit

Permalink
Fix rustc complaining about indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethiraric committed Jun 23, 2024
1 parent 9b2d763 commit 9c13577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ struct Indent {
/// consume/push a character. As of now, almost all lookaheads are 4 characters maximum, except:
/// - Escape sequences parsing: some escape codes are 8 characters
/// - Scanning indent in scalars: this looks ahead `indent + 2` characters
///
/// This constant must be set to at least 8. When scanning indent in scalars, the lookahead is done
/// in a single call if and only if the indent is `BUFFER_LEN - 2` or less. If the indent is higher
/// than that, the code will fall back to a loop of lookaheads.
Expand Down

0 comments on commit 9c13577

Please sign in to comment.