diff options
Diffstat (limited to 'src/lists.rs')
| -rw-r--r-- | src/lists.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lists.rs b/src/lists.rs index a48f9a382e6..3448f8a446a 100644 --- a/src/lists.rs +++ b/src/lists.rs @@ -266,7 +266,8 @@ pub fn write_list<I, T>(items: I, formatting: &ListFormatting) -> Option<String> // Post-comments if tactic != DefinitiveListTactic::Vertical && item.post_comment.is_some() { let comment = item.post_comment.as_ref().unwrap(); - let formatted_comment = try_opt!(rewrite_comment(comment, + let formatted_comment = + try_opt!(rewrite_comment(comment, true, Shape::legacy(formatting.shape.width, Indent::empty()), formatting.config)); |
