Fix some doc/comment typos.
This commit is contained in:
parent
3cf2c04c79
commit
539df8121b
14 changed files with 28 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue