diff --git a/src/algos/fzf/mod.rs b/src/algos/fzf/mod.rs index f72109d..d8ed952 100644 --- a/src/algos/fzf/mod.rs +++ b/src/algos/fzf/mod.rs @@ -48,7 +48,7 @@ mod distance; mod fzf; #[cfg(feature = "fzf-v1")] mod fzf_v1; -#[cfg(feature = "fzf-v1")] +#[cfg(feature = "fzf-v2")] mod fzf_v2; mod parser; mod query; @@ -62,7 +62,7 @@ use distance::*; use fzf::*; #[cfg(feature = "fzf-v1")] pub use fzf_v1::FzfV1; -#[cfg(feature = "fzf-v1")] +#[cfg(feature = "fzf-v2")] pub use fzf_v2::FzfV2; pub use parser::*; pub use query::FzfQuery; diff --git a/src/algos/fzf/query.rs b/src/algos/fzf/query.rs index bc5c169..f0aaae0 100644 --- a/src/algos/fzf/query.rs +++ b/src/algos/fzf/query.rs @@ -2,8 +2,8 @@ use core::fmt::Write; /// A parsed fzf query. /// -/// This struct is created by the [`parse`](FzfParser::parse) method on -/// [`FzfParser`]. See its documentation for more. +/// This struct is created by the [`parse`](super::FzfParser::parse) method on +/// [`FzfParser`](super::FzfParser). See its documentation for more. #[derive(Clone, Copy)] pub struct FzfQuery<'a> { pub(super) search_mode: SearchMode<'a>,