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

View File

@ -732,7 +732,7 @@ impl MultiSpan {
span_labels
}
/// Returns wether any of the span labels is displayable.
/// Returns whether any of the span labels is displayable.
pub fn has_span_labels(&self) -> bool {
self.span_labels.iter().any(|(sp, _)| !sp.is_dummy())
}