Skip to content

Commit

Permalink
do not change shape as not formatting doc comments correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
IVIURRAY committed Jan 4, 2024
1 parent 2fa6ba1 commit f90c65f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,7 @@ impl<'a> FmtVisitor<'a> {
}

let context = self.get_context();
// 1 = ','
let shape = self.shape().sub_width(1)?;
let shape = self.shape();
let attrs_str = field.attrs.rewrite(&context, shape)?;
let lo = field
.attrs
Expand Down

0 comments on commit f90c65f

Please sign in to comment.