Fix linting (#2164)
This commit is contained in:
parent
41e119a5f5
commit
000a594ad5
2 changed files with 4 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue