ra_syntax: fixed doc comment

This commit is contained in:
Veetaha 2020-01-26 22:32:23 +02:00
parent ac37a11f04
commit a2bc4c2a74

View File

@ -53,7 +53,7 @@ pub fn tokenize(text: &str) -> ParsedTokens {
}
/// Break a string up into its component tokens.
/// Returns `ParsedTokens` which are basically a pair `(Vec<Token>, Vec<SyntaxError>)`.
/// Writes to `ParsedTokens` which are basically a pair `(Vec<Token>, Vec<SyntaxError>)`.
/// Beware that it checks for shebang first and its length contributes to resulting
/// tokens offsets.
pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {