diff options
| author | topecongiro <seuchida@gmail.com> | 2017-05-19 19:31:29 +0900 |
|---|---|---|
| committer | topecongiro <seuchida@gmail.com> | 2017-05-23 11:37:33 +0900 |
| commit | 77a2e9858b44598454aa6240475255cd5547d519 (patch) | |
| tree | 254e585d3202349e1a0bacf57eb94fd8da5843e2 /src/lists.rs | |
| parent | f2ec5a7bac3f8bdda148307c576f41f2ca005828 (diff) | |
Format source codes
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)); |
