Hide install() from clippy

Not checkable because it would require sphinx
This commit is contained in:
Fabian Boehm 2024-12-11 17:18:34 +01:00
parent 327aa964e9
commit fa298c41e0

View file

@ -78,7 +78,12 @@ const SYSCONF_DIR: &str = env!("SYSCONFDIR");
const BIN_DIR: &str = env!("BINDIR");
#[cfg(feature = "installable")]
#[allow(unused_variables)]
#[allow(unreachable_code)]
fn install(confirm: bool) {
// Disable for clippy because otherwise it would require sphinx
#[cfg(clippy)]
return;
use rust_embed::RustEmbed;
#[derive(RustEmbed)]