gtk: clippy: Remove redundant 'static from build.rs
@@ -11,8 +11,8 @@ fn main() {
#[cfg(any(feature = "embed-lgpl-docs", feature = "purge-lgpl-docs"))]
fn manage_docs() {
extern crate lgpl_docs;
- const PATH: &'static str = "src";
- const IGNORES: &'static [&'static str] = &["lib.rs", "prelude.rs", "rt.rs", "signal.rs"];
+ const PATH: &str = "src";
+ const IGNORES: &[&str] = &["lib.rs", "prelude.rs", "rt.rs", "signal.rs"];
lgpl_docs::purge(PATH, IGNORES);
if cfg!(feature = "embed-lgpl-docs") {
lgpl_docs::embed(lgpl_docs::Library::Gtk, PATH, IGNORES);
