]> git.lizzy.rs Git - rust.git/commitdiff
Fix a test target
authortopecongiro <seuchida@gmail.com>
Wed, 29 Nov 2017 08:29:06 +0000 (17:29 +0900)
committertopecongiro <seuchida@gmail.com>
Wed, 29 Nov 2017 08:29:06 +0000 (17:29 +0900)
tests/target/chains.rs

index a88440a9d783b845f6d9aec3eaeae503c179645d..61ba04347e0d6dae9fe3adfc97a3c1fcda28a37c 100644 (file)
@@ -224,9 +224,12 @@ pub fn from_ast(diagnostic: &::errors::Handler, attrs: &[ast::Attribute]) -> Att
                     if attr.check_name("doc") {
                         if let Some(mi) = attr.meta() {
                             if let Some(value) = mi.value_str() {
-                                doc_strings.push(
-                                    DocFragment::Include(line, attr.span, filename, contents),
-                                );
+                                doc_strings.push(DocFragment::Include(
+                                    line,
+                                    attr.span,
+                                    filename,
+                                    contents,
+                                ));
                             }
                         }
                     }