mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +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");
|
const BIN_DIR: &str = env!("BINDIR");
|
||||||
|
|
||||||
#[cfg(feature = "installable")]
|
#[cfg(feature = "installable")]
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
#[allow(unreachable_code)]
|
||||||
fn install(confirm: bool) {
|
fn install(confirm: bool) {
|
||||||
|
// Disable for clippy because otherwise it would require sphinx
|
||||||
|
#[cfg(clippy)]
|
||||||
|
return;
|
||||||
use rust_embed::RustEmbed;
|
use rust_embed::RustEmbed;
|
||||||
|
|
||||||
#[derive(RustEmbed)]
|
#[derive(RustEmbed)]
|
||||||
|
|
Loading…
Reference in a new issue