diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index dda7490493197..cf5dda3f2d410 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -421,6 +421,12 @@ fn settings(root_path: &str, suffix: &str, theme_names: Vec) -> Result