diff --git a/src/bin/fish.rs b/src/bin/fish.rs index d10562a3c..5fe8e6313 100644 --- a/src/bin/fish.rs +++ b/src/bin/fish.rs @@ -81,7 +81,7 @@ #[cfg(feature = "installable")] // Disable for clippy because otherwise it would require sphinx #[cfg(not(clippy))] -fn install(confirm: bool, dir: &PathBuf) -> bool { +fn install(confirm: bool, dir: &Path) -> bool { use rust_embed::RustEmbed; #[derive(RustEmbed)] @@ -181,7 +181,7 @@ fn extract_embed(dir: &Path) -> bool { } #[cfg(clippy)] -fn install(_confirm: bool, _dir: &std::path::PathBuf) -> bool { +fn install(_confirm: bool, _dir: &Path) -> bool { unreachable!() }