Skip to content

Commit afe260f

Browse files
committed
rustbook: use a relative @import path to ensure it works offline.
The URL previously caused the book to require an internet connection to get the full styling, this should mean no internet is required.
1 parent 6fc0ac5 commit afe260f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustbook/css.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// The rust-book CSS in string form.
1212

1313
pub static STYLE: &'static str = r#"
14-
@import url("//static.rust-lang.org/doc/master/rust.css");
14+
@import url("../rust.css");
1515
1616
body {
1717
max-width:none;

0 commit comments

Comments
 (0)