diff --git a/src/bin/fish.rs b/src/bin/fish.rs index 2f3fc928b..4e9f8bd97 100644 --- a/src/bin/fish.rs +++ b/src/bin/fish.rs @@ -22,7 +22,7 @@ #![allow(clippy::uninlined_format_args)] #[cfg(feature = "installable")] -use fish::common::get_executable_path; +use fish::common::{get_executable_path, wcs2osstring}; #[allow(unused_imports)] use fish::future::IsSomeAnd; use fish::{ @@ -293,7 +293,6 @@ fn source_config_in_directory(parser: &Parser, dir: &wstr) -> bool { #[cfg(feature = "installable")] fn check_version_file(paths: &ConfigPaths, datapath: &wstr) -> Option { - use crate::common::wcs2osstring; // (false-positive, is_none_or is a backport, this builds with 1.70) #[allow(clippy::incompatible_msrv)] if paths