about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCaleb Cartwright <caleb.cartwright@outlook.com>2021-10-21 17:22:54 -0500
committerCaleb Cartwright <caleb.cartwright@outlook.com>2021-10-21 17:22:54 -0500
commit170214fa16046cd9db435502d3e51928c1b5268b (patch)
treeb1b4afc38c97d99ae185256f21454b929b867f9e
parentd3ecb02bddbb1dd70fb7937966415d13c1a17eba (diff)
downloadrust-170214fa16046cd9db435502d3e51928c1b5268b.tar.gz
rust-170214fa16046cd9db435502d3e51928c1b5268b.zip
fix doc issue in rustfmt
-rw-r--r--src/tools/rustfmt/src/comment.rs2
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() {