]> git.lizzy.rs Git - rust.git/commitdiff
Add doc comment to rewrite_first_group_attrs
authortopecongiro <seuchida@gmail.com>
Fri, 23 Feb 2018 13:58:46 +0000 (22:58 +0900)
committertopecongiro <seuchida@gmail.com>
Fri, 23 Feb 2018 13:58:46 +0000 (22:58 +0900)
rustfmt-core/src/attr.rs

index a16f0f5a8a96b9d589ab4f5ec8ebda3c12a0e7bd..12ba644a2d9fdfe5d9b741c963429b7d3606fa74 100644 (file)
@@ -121,6 +121,8 @@ fn take_while_with_pred<'a, P>(
     }
 }
 
+/// Rewrite the same kind of attributes at the same time. This includes doc
+/// comments and derives.
 fn rewrite_first_group_attrs(
     context: &RewriteContext,
     attrs: &[ast::Attribute],