mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
ra_syntax: fixed doc comment
This commit is contained in:
parent
ac37a11f04
commit
a2bc4c2a74
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ pub fn tokenize(text: &str) -> ParsedTokens {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Break a string up into its component tokens.
|
/// 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
|
/// Beware that it checks for shebang first and its length contributes to resulting
|
||||||
/// tokens offsets.
|
/// tokens offsets.
|
||||||
pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {
|
pub fn tokenize_append(text: &str, parsed: &mut ParsedTokens) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue