Fix some doc/comment typos.

This commit is contained in:
Bruce Mitchener 2017-07-23 22:06:16 +07:00
parent 3cf2c04c79
commit 539df8121b
14 changed files with 28 additions and 28 deletions

View file

@ -312,7 +312,7 @@ impl MultiSpan {
&self.primary_spans
}
/// Replaces all occurances of one Span with another. Used to move Spans in areas that don't
/// Replaces all occurrences of one Span with another. Used to move Spans in areas that don't
/// display well (like std macros). Returns true if replacements occurred.
pub fn replace(&mut self, before: Span, after: Span) -> bool {
let mut replacements_occurred = false;