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
commit b2706ebecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

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;
}

View File

@ -0,0 +1,3 @@
// rustfmt-reorder_imports: false
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;

View File

@ -0,0 +1,3 @@
// rustfmt-reorder_imports: false
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;