We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b0bf10 commit c9dbfe3Copy full SHA for c9dbfe3
src/librustdoc/html/layout.rs
@@ -38,7 +38,7 @@ impl<'a> Page<'a> {
38
pub(crate) fn get_static_root_path(&self) -> String {
39
match self.static_root_path {
40
Some(s) => s.to_string(),
41
- None => format!("{}{}", self.root_path, "static.files/"),
+ None => format!("{}static.files/", self.root_path),
42
}
43
44
0 commit comments