diff options
| author | Caleb Cartwright <caleb.cartwright@outlook.com> | 2021-10-21 17:22:54 -0500 |
|---|---|---|
| committer | Caleb Cartwright <caleb.cartwright@outlook.com> | 2021-10-21 17:22:54 -0500 |
| commit | 170214fa16046cd9db435502d3e51928c1b5268b (patch) | |
| tree | b1b4afc38c97d99ae185256f21454b929b867f9e | |
| parent | d3ecb02bddbb1dd70fb7937966415d13c1a17eba (diff) | |
| download | rust-170214fa16046cd9db435502d3e51928c1b5268b.tar.gz rust-170214fa16046cd9db435502d3e51928c1b5268b.zip | |
fix doc issue in rustfmt
| -rw-r--r-- | src/tools/rustfmt/src/comment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustfmt/src/comment.rs b/src/tools/rustfmt/src/comment.rs index 60825424858..dc4f4516252 100644 --- a/src/tools/rustfmt/src/comment.rs +++ b/src/tools/rustfmt/src/comment.rs @@ -403,7 +403,7 @@ enum CodeBlockAttribute { impl CodeBlockAttribute { /// Parse comma separated attributes list. Return rust only if all /// attributes are valid rust attributes - /// See https://doc.rust-lang.org/rustdoc/print.html#attributes + /// See <https://doc.rust-lang.org/rustdoc/print.html#attributes> fn new(attributes: &str) -> CodeBlockAttribute { for attribute in attributes.split(",") { match attribute.trim() { |
