diff --git a/build.rs b/build.rs index 7e2dfe4a..7376bb76 100644 --- a/build.rs +++ b/build.rs @@ -6,7 +6,7 @@ fn main() { fn manage_docs() { extern crate lgpl_docs; const PATH: &'static str = "src"; - const IGNORES: &'static [&'static str] = &[]; + const IGNORES: &'static [&'static str] = &["lib.rs"]; lgpl_docs::purge(PATH, IGNORES); if cfg!(feature = "embed-lgpl-docs") { lgpl_docs::embed(lgpl_docs::Library::Cairo, PATH, IGNORES);