Skip to content

Commit

Permalink
add docs to FzfQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Nov 19, 2023
1 parent 11a64ed commit f7d7951
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/algos/fzf/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ type FuzzyAlgo<T> = fn(
&mut MatchedRanges,
) -> Option<Score>;

/// TODO: docs.
/// A parsed fzf query.
///
/// This struct is created by the [`parse`](FzfParser::parse) method on
/// [`FzfParser`]. See its documentation for more.
#[derive(Clone, Copy)]
pub struct FzfQuery<'a> {
pub(super) search_mode: SearchMode<'a>,
Expand Down

0 comments on commit f7d7951

Please sign in to comment.