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

Commit 2502939

Browse files
committed
fix review comments
1 parent da2d8a4 commit 2502939

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ impl<'b, 'a: 'b> FmtVisitor<'a> {
608608
let first_line = self.source_map.lookup_char_pos(main_span.lo()).line;
609609
// Statement can start after some newlines and/or spaces
610610
// or it can be on the same line as the last attribute.
611-
// So here we need to take a minimum between two.
611+
// So here we need to take a minimum between the two.
612612
let lo = std::cmp::min(attrs_end + 1, first_line);
613613
self.push_rewrite_inner(item_span, None);
614614
let hi = self.line_number + 1;

tests/source/issue-3304.rs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)