]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo
authorvarkor <github@varkor.com>
Mon, 21 Jan 2019 23:53:56 +0000 (15:53 -0800)
committerGitHub <noreply@github.com>
Mon, 21 Jan 2019 23:53:56 +0000 (15:53 -0800)
Co-Authored-By: estebank <estebank@users.noreply.github.com>
src/libsyntax_pos/lib.rs

index b6b9b608531e4b862d9ea25bbe14229ba7497a86..d9d7f9b0cb4926fcfb9a392cbb6b177b99816538 100644 (file)
@@ -668,7 +668,7 @@ pub fn primary_spans(&self) -> &[Span] {
         &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())
     }