We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac37a11 commit a2bc4c2Copy full SHA for a2bc4c2
crates/ra_syntax/src/parsing/lexer.rs
@@ -53,7 +53,7 @@ pub fn tokenize(text: &str) -> ParsedTokens {
53
}
54
55
/// Break a string up into its component tokens.
56
-/// Returns `ParsedTokens` which are basically a pair `(Vec<Token>, Vec<SyntaxError>)`.
+/// 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
58
/// tokens offsets.
59
pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {
0 commit comments