mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
ra_syntax: fixed doc comment
This commit is contained in:
parent
ac37a11f04
commit
a2bc4c2a74
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user