diff --git a/src/book/bookconfig_test.rs b/src/book/bookconfig_test.rs index 34122628..61cfa6a9 100644 --- a/src/book/bookconfig_test.rs +++ b/src/book/bookconfig_test.rs @@ -1,4 +1,4 @@ -#[cfg(test)] +#![cfg(test)] use std::path::Path; use serde_json; diff --git a/src/parse/summary.rs b/src/parse/summary.rs index a4c87a9c..5b73e448 100644 --- a/src/parse/summary.rs +++ b/src/parse/summary.rs @@ -37,7 +37,7 @@ fn parse_level(summary: &mut Vec<&str>, current_level: i32, mut section: Vec