about summary refs log tree commit diff
path: root/src/librustdoc/html/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/html/layout.rs')
-rw-r--r--src/librustdoc/html/layout.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index bfa6651fe0a..09b4ade3814 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -122,10 +122,6 @@ pub fn render<T: fmt::Default, S: fmt::Default>(
     );
 }
 
-fn boolstr(b: bool) -> &'static str {
-    if b { "true" } else { "false" }
-}
-
 fn nonestr<'a>(s: &'a str) -> &'a str {
     if s == "" { "none" } else { s }
 }