Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-Authored-By: estebank <estebank@users.noreply.github.com>
  • Loading branch information
varkor and estebank authored Jan 21, 2019
1 parent 1d6e5e7 commit f077990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax_pos/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit f077990

Please sign in to comment.