mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
chore: remove repetitive words (#10502)
This commit is contained in:
parent
4ad3166a3f
commit
c5ea4209bb
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue