This commit is contained in:
Aleksey Kladov 2020-02-29 18:34:34 +01:00
parent 28332d9b63
commit 14ea21617a
2 changed files with 4 additions and 5 deletions

View file

@ -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 }
}
}