@@ -14,8 +14,8 @@ use std::{ffi::OsStr, fs, path::Path};
1414const VENDORED_CSS : & str = include_str ! ( concat!( env!( "OUT_DIR" ) , "/vendored.css" ) ) ;
1515const STYLE_CSS : & str = include_str ! ( concat!( env!( "OUT_DIR" ) , "/style.css" ) ) ;
1616const RUSTDOC_CSS : & str = include_str ! ( concat!( env!( "OUT_DIR" ) , "/rustdoc.css" ) ) ;
17- const RUSTDOC_2021_12_06_CSS : & str =
18- include_str ! ( concat!( env!( "OUT_DIR" ) , "/rustdoc-2021-12-06 .css" ) ) ;
17+ const RUSTDOC_2021_12_05_CSS : & str =
18+ include_str ! ( concat!( env!( "OUT_DIR" ) , "/rustdoc-2021-12-05 .css" ) ) ;
1919const STATIC_SEARCH_PATHS : & [ & str ] = & [ "static" , "vendor" ] ;
2020
2121pub ( crate ) fn static_handler ( req : & mut Request ) -> IronResult < Response > {
@@ -27,8 +27,8 @@ pub(crate) fn static_handler(req: &mut Request) -> IronResult<Response> {
2727 "vendored.css" => serve_resource ( VENDORED_CSS , ContentType ( "text/css" . parse ( ) . unwrap ( ) ) ) ,
2828 "style.css" => serve_resource ( STYLE_CSS , ContentType ( "text/css" . parse ( ) . unwrap ( ) ) ) ,
2929 "rustdoc.css" => serve_resource ( RUSTDOC_CSS , ContentType ( "text/css" . parse ( ) . unwrap ( ) ) ) ,
30- "rustdoc-2021-12-06 .css" => serve_resource (
31- RUSTDOC_2021_12_06_CSS ,
30+ "rustdoc-2021-12-05 .css" => serve_resource (
31+ RUSTDOC_2021_12_05_CSS ,
3232 ContentType ( "text/css" . parse ( ) . unwrap ( ) ) ,
3333 ) ,
3434 file => serve_file ( file) ?,
0 commit comments