mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Hide install() from clippy
Not checkable because it would require sphinx
This commit is contained in:
parent
327aa964e9
commit
fa298c41e0
1 changed files with 5 additions and 0 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue