Co-Authored-By: estebank <estebank@users.noreply.github.com>
This commit is contained in:
varkor 2019-01-21 15:53:56 -08:00 committed by GitHub
parent 1d6e5e7108
commit f077990ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -668,7 +668,7 @@ impl MultiSpan {
&self.primary_spans
}
/// Returns wether any of the primary spans is displayable.
/// Returns whether any of the primary spans is displayable.
pub fn has_primary_spans(&self) -> bool {
self.primary_spans.iter().any(|sp| !sp.is_dummy())
}