Satisfy warnings
This commit is contained in:
parent
3ed3c4e8f8
commit
03e7f10739
14 changed files with 66 additions and 66 deletions
|
|
@ -24,8 +24,8 @@ pub enum TablePatternElem {
|
|||
impl HasSpan for TablePatternElem {
|
||||
fn span(&self) -> Span {
|
||||
match self {
|
||||
TablePatternElem::Positional(ident) => ident.span(),
|
||||
TablePatternElem::Named { span, .. } => *span,
|
||||
Self::Positional(ident) => ident.span(),
|
||||
Self::Named { span, .. } => *span,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue