X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fhtml%2Frender%2Fwrite_shared.rs;h=bc8badad38eb0578ea3a0b5f40310241b66eab0c;hb=cc92bdb9c99b944b77833f3f2cd0e362c94bf861;hp=3ea4c4bea8828fbc4fbfdb8738b76b6501d9726a;hpb=01c75848eb94e96210e74b8dd43a5a270464ac25;p=rust.git diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs index 3ea4c4bea88..bc8badad38e 100644 --- a/src/librustdoc/html/render/write_shared.rs +++ b/src/librustdoc/html/render/write_shared.rs @@ -138,7 +138,7 @@ fn collect(path: &Path, krate: &str) -> io::Result<(Vec, Vec)> { Ok((ret, krates)) } - /// Read a file and return all lines that match the "{crate}":{data},\ format, + /// Read a file and return all lines that match the "{crate}":{data},\ format, /// and return a tuple `(Vec, Vec)`. /// /// This forms the payload of files that look like this: @@ -345,7 +345,7 @@ fn add_path(self: &Rc, path: &Path) { }; let content = format!( - "

List of all crates

    {}
", + "

List of all crates

    {}
", krates .iter() .map(|s| {