diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-07-29 17:38:14 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-07-29 17:38:14 +0200 |
| commit | 9672d4320052d08b67d497febed4a0ad78bf9252 (patch) | |
| tree | 667a7aba2f26996c7ada8ce85952c384a1dbd5a1 /src/syntax | |
| parent | 53ca5a7fc5829d4c5b1cffc6d5a5f1706f8ec3cd (diff) | |
Improve argument naming and fix grammar in comment ♻
Diffstat (limited to 'src/syntax')
| -rw-r--r-- | src/syntax/parsing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/parsing.rs b/src/syntax/parsing.rs index ece09a86..a0d9c4e4 100644 --- a/src/syntax/parsing.rs +++ b/src/syntax/parsing.rs @@ -30,7 +30,7 @@ pub fn parse(src: &str, offset: Position, state: &ParseState) -> Pass<SyntaxMode let span = token.span; let node = match token.v { // Starting from two newlines counts as a paragraph break, a single - // newline not. + // newline does not. Token::Space(newlines) => if newlines >= 2 { Node::Parbreak } else { |
