summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-20 16:02:52 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-01-27 14:41:33 +0100
commit9f70bdcbc88a51f6065dba37e033c2422dd263dc (patch)
tree66d3aa51f3fe1286d46eec5043e178c977afbfe0 /src/librustdoc/html/render
parent3623613dc7384c7956b19f25be94538e310b9a77 (diff)
downloadrust-9f70bdcbc88a51f6065dba37e033c2422dd263dc.tar.gz
rust-9f70bdcbc88a51f6065dba37e033c2422dd263dc.zip
Improve code readability
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/write_shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs
index bc8badad38e..ca3e9916487 100644
--- a/src/librustdoc/html/render/write_shared.rs
+++ b/src/librustdoc/html/render/write_shared.rs
@@ -138,7 +138,7 @@ pub(super) fn write_shared(
         Ok((ret, krates))
     }
 
-    /// Read a file and return all lines that match the <code>"{crate}":{data},\</code> format,
+    /// Read a file and return all lines that match the <code>"{crate}":{data},\ </code> format,
     /// and return a tuple `(Vec<DataString>, Vec<CrateNameString>)`.
     ///
     /// This forms the payload of files that look like this: