Skip to content

Commit

Permalink
fix: fix new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Dec 17, 2024
1 parent 24ed857 commit f7296e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CARGO = CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse RUSTFLAGS="--cfg tokio_unstab
all: build check-fmt check-clippy test

.PHONY: test
test: update
test:
# Test with default features
${CARGO} test --locked
# Test with all features
Expand All @@ -20,7 +20,7 @@ check-fmt:
update:
${CARGO} update

.PHONY: check-clippy
.PHONY: check-clippy
check-clippy:
# Check with default features
${CARGO} clippy --workspace
Expand Down
2 changes: 1 addition & 1 deletion runner/src/scenario/ceramic/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async fn query_large_mid_verify_edges(
)
.await?;

if resp.edges.first().is_none() {
if resp.edges.is_empty() {
goose_try!(user, "query", &mut metrics, {
Err(anyhow::anyhow!("no edges returned"))
})?;
Expand Down

0 comments on commit f7296e0

Please sign in to comment.