mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Minor
This commit is contained in:
parent
28332d9b63
commit
14ea21617a
2 changed files with 4 additions and 5 deletions
|
@ -225,6 +225,6 @@ impl From<AssocItem> for GenericDefId {
|
|||
|
||||
impl From<(DefWithBodyId, PatId)> for Local {
|
||||
fn from((parent, pat_id): (DefWithBodyId, PatId)) -> Self {
|
||||
Local { parent: parent.into(), pat_id }
|
||||
Local { parent, pat_id }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue