about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-19 15:54:05 -0500
committerNoah Lev <camelidcamel@gmail.com>2021-11-19 15:54:05 -0500
commit0ae053a48122d29caa6d738dbcbd98888330d160 (patch)
treee5cccbbf21903c613c3a62c1378fa30b1b6ef6af
parent548c1088eff51fd92ad94d56b8c5b2d48b7088f0 (diff)
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,
 }