Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b2706eb

Browse files
authored
Merge pull request rust-lang#3155 from emilio/missed-spans-bug
missed-spans: Fix bogus check.
2 parents 7bf0d30 + 4a82252 commit b2706eb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/missed_spans.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,6 @@ impl<'a> FmtVisitor<'a> {
308308
status.line_start = i + 1;
309309
} else if c.is_whitespace() && status.last_wspace.is_none() {
310310
status.last_wspace = Some(i);
311-
} else if c == ';' && status.last_wspace.is_some() {
312-
status.line_start = i;
313-
status.last_wspace = None;
314311
} else {
315312
status.last_wspace = None;
316313
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// rustfmt-reorder_imports: false
2+
3+
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// rustfmt-reorder_imports: false
2+
3+
pub use self :: super :: super :: super :: root::mozilla::detail::StringClassFlags as nsTStringRepr_ClassFlags ;

0 commit comments

Comments
 (0)