about summary refs log tree commit diff
diff options
context:
space:
mode:
-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() {