aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-01-26 20:32:23 +0000
committerVeetaha <[email protected]>2020-02-03 22:00:55 +0000
commita2bc4c2a7453f2e72df6f2e6c3273d6b3f0114a9 (patch)
tree9bcfc05c681b6decb685ecc9c712c79a7a2eb328 /crates/ra_syntax/src/parsing
parentac37a11f04b31f792068a1cb50dbbf5ccd4d982d (diff)
ra_syntax: fixed doc comment
Diffstat (limited to 'crates/ra_syntax/src/parsing')
-rw-r--r--crates/ra_syntax/src/parsing/lexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/lexer.rs b/crates/ra_syntax/src/parsing/lexer.rs
index 6d96f8400..9f321cd06 100644
--- a/crates/ra_syntax/src/parsing/lexer.rs
+++ b/crates/ra_syntax/src/parsing/lexer.rs
@@ -53,7 +53,7 @@ pub fn tokenize(text: &str) -> ParsedTokens {
53} 53}
54 54
55/// Break a string up into its component tokens. 55/// Break a string up into its component tokens.
56/// Returns `ParsedTokens` which are basically a pair `(Vec<Token>, Vec<SyntaxError>)`. 56/// Writes to `ParsedTokens` which are basically a pair `(Vec<Token>, Vec<SyntaxError>)`.
57/// Beware that it checks for shebang first and its length contributes to resulting 57/// Beware that it checks for shebang first and its length contributes to resulting
58/// tokens offsets. 58/// tokens offsets.
59pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) { 59pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {