Skip to content

Commit af07685

Browse files
Merge pull request #2893 from reddevilmidzy/reddevilmidzy-patch-1
Fix formatting in attribute-parsing documentation
2 parents 75068cd + fd09ff7 commit af07685

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hir/attribute-parsing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To use the parsed representation before the HIR is built, you usually need to us
5454
This function takes a slice of `&[ast::Attribute]`s, and the name of an attribute you're interested in, and parses the attribute if it is present.
5555

5656
No diagnostics will be emitted when parsing limited. Lints are not emitted at all, while errors will be emitted as a delayed bugs.
57-
In other words, we expect attributes parsed with parse_limited to be reparsed later during ast lowering where we do emit the errors
57+
In other words, we expect attributes parsed with `parse_limited` to be reparsed later during ast lowering where we do emit the errors.
5858

5959

6060
[attributes_page]: ../attributes.md
@@ -65,4 +65,4 @@ In other words, we expect attributes parsed with parse_limited to be reparsed la
6565
[builtin_attributes]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_feature/builtin_attrs/static.BUILTIN_ATTRIBUTES.html
6666
[template]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_feature/macro.template.html
6767
[find_attr]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/macro.find_attr.html
68-
[parse_limited]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_attr_parsing/interface/struct.AttributeParser.html#method.parse_limited
68+
[parse_limited]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_attr_parsing/interface/struct.AttributeParser.html#method.parse_limited

0 commit comments

Comments
 (0)