Skip to content

Commit

Permalink
Build: Fix Rust 1.75 beta lints; flake update (#2841)
Browse files Browse the repository at this point in the history
- Fix Rust 1.75 beta lint error
- Update flake dependencies
  • Loading branch information
luizirber authored Nov 16, 2023
1 parent 61ac8f7 commit ff2ad02
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
buildInputs = [
rustVersion
openssl
pkgconfig
pkg-config

git
stdenv.cc.cc.lib
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/ffi/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ ffi_fn! {
unsafe fn signature_first_mh(ptr: *const SourmashSignature) -> Result<*mut SourmashKmerMinHash> {
let sig = SourmashSignature::as_rust(ptr);

match sig.signatures.get(0) {
match sig.signatures.first() {
Some(Sketch::MinHash(mh)) => {
Ok(SourmashKmerMinHash::from_rust(mh.clone()))
},
Expand Down

0 comments on commit ff2ad02

Please sign in to comment.