about summary refs log tree commit diff
path: root/src/lists.rs
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-05-19 19:31:29 +0900
committertopecongiro <seuchida@gmail.com>2017-05-23 11:37:33 +0900
commit77a2e9858b44598454aa6240475255cd5547d519 (patch)
tree254e585d3202349e1a0bacf57eb94fd8da5843e2 /src/lists.rs
parentf2ec5a7bac3f8bdda148307c576f41f2ca005828 (diff)
Format source codes
Diffstat (limited to 'src/lists.rs')
-rw-r--r--src/lists.rs3
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));