Fix linting ()

This commit is contained in:
Tobie Morgan Hitchcock 2023-06-21 08:45:39 +01:00 committed by GitHub
parent 41e119a5f5
commit 000a594ad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions
Makefile
lib/src/idx/planner

View file

@ -23,7 +23,7 @@ check:
cargo check --workspace
cargo fmt --all --check
cargo fmt --all --check -- ./lib/tests/**/*.rs ./lib/src/kvs/tests/*.rs
cargo clippy --no-deps -- -D warnings
cargo clippy --all-targets --all-features -- -D warnings
.PHONY: clean
clean:

View file

@ -90,11 +90,9 @@ impl<'a> TreeBuilder<'a> {
match e {
Expression::Unary {
..
} => {
return Err(Error::FeatureNotYetImplemented {
feature: "unary expressions in index",
});
}
} => Err(Error::FeatureNotYetImplemented {
feature: "unary expressions in index",
}),
Expression::Binary {
l,
o,