mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +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
|
@ -432,7 +432,7 @@ impl NameLike {
|
|||
_ => None,
|
||||
}
|
||||
}
|
||||
pub fn text(&self) -> TokenText {
|
||||
pub fn text(&self) -> TokenText<'_> {
|
||||
match self {
|
||||
NameLike::NameRef(name_ref) => name_ref.text(),
|
||||
NameLike::Name(name) => name.text(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue