diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-07-15 13:05:15 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-07-15 13:23:20 +0200 |
| commit | 9bab94f045e6acb9daeb2f867ad0233e986b635c (patch) | |
| tree | c648e0d401011cc882faea61f99a56f46a9376f8 | |
| parent | b9197978a90be6f7570741eabe2da175fec75375 (diff) | |
| download | rust-9bab94f045e6acb9daeb2f867ad0233e986b635c.tar.gz rust-9bab94f045e6acb9daeb2f867ad0233e986b635c.zip | |
Fix misuse of rev attribute on <a> tag
| -rw-r--r-- | src/librustdoc/html/markdown.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 3b599e4997a..e21469dc9c3 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -621,8 +621,7 @@ impl<'a, I: Iterator<Item = SpannedEvent<'a>>> Iterator for Footnotes<'a, I> { is_paragraph = true; } html::push_html(&mut ret, content.into_iter()); - write!(ret, " <a href=\"#fnref{}\" rev=\"footnote\">↩</a>", id) - .unwrap(); + write!(ret, " <a href=\"#fnref{}\">↩</a>", id).unwrap(); if is_paragraph { ret.push_str("</p>"); } |
