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