Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Sep 16, 2024
1 parent 32839ae commit 43ee757
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions src/core/src/manifest.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::collections::HashSet;
use std::fs::File;
use std::hash::{Hash, Hasher};
use std::io::{BufRead, BufReader, Read, Write};
use std::ops::Deref;
use std::collections::HashSet;
use std::hash::{Hash, Hasher};

use camino::Utf8PathBuf as PathBuf;
use getset::{CopyGetters, Getters, Setters};
Expand Down Expand Up @@ -181,15 +181,15 @@ impl Record {
impl PartialEq for Record {
// match everything but internal_location
fn eq(&self, other: &Self) -> bool {
self.md5 == other.md5 &&
self.ksize == other.ksize &&
self.moltype == other.moltype &&
self.scaled == other.scaled &&
self.num == other.num &&
self.n_hashes == other.n_hashes &&
self.with_abundance == other.with_abundance &&
self.name == other.name &&
self.filename == other.filename
self.md5 == other.md5
&& self.ksize == other.ksize
&& self.moltype == other.moltype
&& self.scaled == other.scaled
&& self.num == other.num
&& self.n_hashes == other.n_hashes
&& self.with_abundance == other.with_abundance
&& self.name == other.name
&& self.filename == other.filename
}
}

Expand Down Expand Up @@ -598,9 +598,7 @@ mod test {
assert_eq!(manifest.len(), 2);

// now do just one sketch -
let test_sigs2 = vec![
"../../tests/test-data/63.fa.sig",
];
let test_sigs2 = vec!["../../tests/test-data/63.fa.sig"];

let filename2 = utf8_output.join("sig-pathlist-single.txt");

Expand Down

0 comments on commit 43ee757

Please sign in to comment.