summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-07-29 17:38:14 +0200
committerLaurenz <laurmaedje@gmail.com>2020-07-29 17:38:14 +0200
commit9672d4320052d08b67d497febed4a0ad78bf9252 (patch)
tree667a7aba2f26996c7ada8ce85952c384a1dbd5a1 /src/syntax
parent53ca5a7fc5829d4c5b1cffc6d5a5f1706f8ec3cd (diff)
Improve argument naming and fix grammar in comment ♻
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/parsing.rs2
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 {