chore: remove repetitive words (#10502)

This commit is contained in:
veryyet
2024-03-21 11:57:16 +08:00
committed by GitHub
parent 4ad3166a3f
commit c5ea4209bb
4 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ impl Statistics {
}
}
/// We currently prefer the the similarity index, but i'd like to keep this around
/// We currently prefer the similarity index, but i'd like to keep this around
#[allow(clippy::cast_precision_loss, unused)]
pub(crate) fn jaccard_index(&self) -> f32 {
self.intersection as f32 / (self.black_input + self.ruff_output + self.intersection) as f32