Skip to content

Commit

Permalink
tweaks FzfDistance's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Nov 19, 2023
1 parent 8f5b832 commit b35d7c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/algos/fzf/distance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ use core::cmp::{Ord, PartialOrd};

pub(super) type Score = i64;

/// An opaque distance type returned by [`FzfV1`](super::FzfV1) and
/// The fzf distance type.
///
/// This struct is returned by [`FzfV1`](super::FzfV1) and
/// [`FzfV2`](super::FzfV2)'s [`Metric`](crate::Metric) implementations.
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
pub struct FzfDistance(Score);
Expand Down

0 comments on commit b35d7c1

Please sign in to comment.