Merge pull request #3155 from emilio/missed-spans-bug

missed-spans: Fix bogus check.
This commit is contained in:
Seiichi Uchida
2018-10-30 15:26:53 +09:00
committed by GitHub
3 changed files with 6 additions and 3 deletions
-3
View File
@@ -308,9 +308,6 @@ fn process_missing_code(
status.line_start = i + 1;
} else if c.is_whitespace() && status.last_wspace.is_none() {
status.last_wspace = Some(i);
} else if c == ';' && status.last_wspace.is_some() {
status.line_start = i;
status.last_wspace = None;
} else {
status.last_wspace = None;
}
@@ -0,0 +1,3 @@
// rustfmt-reorder_imports: false
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;
@@ -0,0 +1,3 @@
// rustfmt-reorder_imports: false
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;