Skip to content

Commit dbe2928

Browse files
committed
rustdoc: Fix typo in attr_pass
1 parent f8c93bd commit dbe2928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustdoc/attr_pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ fn fold_const(
231231
doc: doc::constdoc
232232
) -> doc::constdoc {
233233
let srv = fold.ctxt;
234-
let attrs = parse_item_attrs(srv, doc.id, attr_parser::parse_mod);
234+
let attrs = parse_item_attrs(srv, doc.id, attr_parser::parse_const);
235235

236236
~{
237237
brief: attrs.brief,

0 commit comments

Comments
 (0)