mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Run cargo fix --edition-idioms
This commit is contained in:
parent
23d25a3094
commit
816f7fe12a
230 changed files with 888 additions and 888 deletions
|
@ -52,7 +52,7 @@ fn check_doc_links(ra_fixture: &str) {
|
|||
}
|
||||
|
||||
fn def_under_cursor(
|
||||
sema: &Semantics<RootDatabase>,
|
||||
sema: &Semantics<'_, RootDatabase>,
|
||||
position: &FilePosition,
|
||||
) -> (Definition, hir::Documentation) {
|
||||
let (docs, def) = sema
|
||||
|
@ -70,7 +70,7 @@ fn def_under_cursor(
|
|||
}
|
||||
|
||||
fn node_to_def(
|
||||
sema: &Semantics<RootDatabase>,
|
||||
sema: &Semantics<'_, RootDatabase>,
|
||||
node: &SyntaxNode,
|
||||
) -> Option<Option<(Option<hir::Documentation>, Definition)>> {
|
||||
Some(match_ast! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue