mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-23 10:33:52 +00:00
fix typos & formatting
This commit is contained in:
parent
cf9401049c
commit
a741bb2055
2 changed files with 7 additions and 3 deletions
|
@ -18,7 +18,11 @@ pub(crate) fn parse_text(text: &str, edition: parser::Edition) -> (GreenNode, Ve
|
|||
(node, errors)
|
||||
}
|
||||
|
||||
pub(crate) fn parse_text_at(text: &str, entry: parser::TopEntryPoint, edition: parser::Edition) -> (GreenNode, Vec<SyntaxError>) {
|
||||
pub(crate) fn parse_text_at(
|
||||
text: &str,
|
||||
entry: parser::TopEntryPoint,
|
||||
edition: parser::Edition,
|
||||
) -> (GreenNode, Vec<SyntaxError>) {
|
||||
let _p = tracing::span!(tracing::Level::INFO, "parse_text_at").entered();
|
||||
let lexed = parser::LexedStr::new(text);
|
||||
let parser_input = lexed.to_input();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue