Skip to content

Commit 1323abf

Browse files
committed
Fix a typo
1 parent b5e4c99 commit 1323abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ impl Rewrite for ast::Block {
634634
}
635635

636636
let prefix = block_prefix(context, self, shape)?;
637+
let shape = shape.offset_left(last_line_width(&prefix))?;
637638

638639
let result = rewrite_block_with_visitor(context, &prefix, self, shape, false);
639640
if let Some(ref result_str) = result {

0 commit comments

Comments
 (0)