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
commit051e2b40c9417a761ca3f35b07a709580178ec61 (patch)
treee29507126433a7a1236bb10ebe3e568f7649fa02
parent606c7d49dbe892d3d80d6c9f913c15f4eac1c938 (diff)
downloadrust-051e2b40c9417a761ca3f35b07a709580178ec61.tar.gz
rust-051e2b40c9417a761ca3f35b07a709580178ec61.zip
fix doc issue in rustfmt
-rw-r--r--src/comment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comment.rs b/src/comment.rs
index 60825424858..dc4f4516252 100644
--- a/src/comment.rs
+++ b/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() {