about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-20 01:09:45 +0100
committerGitHub <noreply@github.com>2021-11-20 01:09:45 +0100
commit54bc33367cc6fb72b72b6ec96d7c62361fa9b145 (patch)
tree4164712d63a36017d395421f266b187752a5cefa
parent62b259cd880d0ff83492fe09d80f944a4806672c (diff)
parent0ae053a48122d29caa6d738dbcbd98888330d160 (diff)
downloadrust-54bc33367cc6fb72b72b6ec96d7c62361fa9b145.tar.gz
rust-54bc33367cc6fb72b72b6ec96d7c62361fa9b145.zip
Rollup merge of #91054 - camelid:fix-tags, r=GuillaumeGomez
rustdoc: Fix some unescaped HTML tags in docs

They were being interpreted literally.
-rw-r--r--src/librustdoc/externalfiles.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/externalfiles.rs b/src/librustdoc/externalfiles.rs
index 302fc5a6777..6ed911b8d24 100644
--- a/src/librustdoc/externalfiles.rs
+++ b/src/librustdoc/externalfiles.rs
@@ -8,13 +8,13 @@ use serde::Serialize;
 
 #[derive(Clone, Debug, Serialize)]
 crate struct ExternalHtml {
-    /// Content that will be included inline in the <head> section of a
+    /// Content that will be included inline in the `<head>` section of a
     /// rendered Markdown file or generated documentation
     crate in_header: String,
-    /// Content that will be included inline between <body> and the content of
+    /// Content that will be included inline between `<body>` and the content of
     /// a rendered Markdown file or generated documentation
     crate before_content: String,
-    /// Content that will be included inline between the content and </body> of
+    /// Content that will be included inline between the content and `</body>` of
     /// a rendered Markdown file or generated documentation
     crate after_content: String,
 }