Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Nov 5, 2024
1 parent b665b00 commit 2989021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/src/sketch/minhash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ use serde::ser::{SerializeStruct, Serializer};
use serde::{Deserialize, Serialize};
use typed_builder::TypedBuilder;

use crate::{_hash_murmur, ScaledType};
use crate::encodings::HashFunctions;
use crate::signature::SigsTrait;
use crate::sketch::hyperloglog::HyperLogLog;
use crate::Error;
use crate::{ScaledType, _hash_murmur};

pub fn max_hash_for_scaled(scaled: ScaledType) -> u64 {
match scaled {
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/minhash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ use std::path::PathBuf;
use proptest::collection::vec;
use proptest::num::u64;
use proptest::proptest;
use sourmash::ScaledType;
use sourmash::encodings::HashFunctions;
use sourmash::signature::SeqToHashes;
use sourmash::signature::{Signature, SigsTrait};
use sourmash::sketch::minhash::{
max_hash_for_scaled, scaled_for_max_hash, KmerMinHash, KmerMinHashBTree,
};
use sourmash::sketch::Sketch;
use sourmash::ScaledType;

// TODO: use f64::EPSILON when we bump MSRV
const EPSILON: f64 = 0.01;
Expand Down

0 comments on commit 2989021

Please sign in to comment.