Skip to content

Commit a2bc4c2

Browse files
author
Veetaha
committed
ra_syntax: fixed doc comment
1 parent ac37a11 commit a2bc4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_syntax/src/parsing/lexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn tokenize(text: &str) -> ParsedTokens {
5353
}
5454

5555
/// 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>)`.
5757
/// Beware that it checks for shebang first and its length contributes to resulting
5858
/// tokens offsets.
5959
pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {

0 commit comments

Comments
 (0)