Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Fix Rust 1.75 beta lints; flake update #2841

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
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() {

Check warning on line 170 in src/core/src/ffi/signature.rs

View check run for this annotation

Codecov / codecov/patch

src/core/src/ffi/signature.rs#L170

Added line #L170 was not covered by tests
Some(Sketch::MinHash(mh)) => {
Ok(SourmashKmerMinHash::from_rust(mh.clone()))
},
Expand Down
Loading