Skip to content

Automatic fixes from cargo clippy --fix --all-features; cargo fmt #2457

Automatic fixes from cargo clippy --fix --all-features; cargo fmt

Automatic fixes from cargo clippy --fix --all-features; cargo fmt #2457

Triggered via push March 14, 2024 18:07
Status Success
Total duration 6m 10s
Artifacts

coverage.yml

on: push
Matrix: Build and Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: partiql-value/src/lib.rs#L415
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> partiql-value/src/lib.rs:415:21 | 415 | true => match (self.0, rhs.0) { | _____________________^ 416 | | (Value::Missing | Value::Null, Value::Missing | Value::Null) => { 417 | | return Value::Boolean(true) 418 | | } 419 | | _ => {} 420 | | }, | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match note: the lint level is defined here --> partiql-value/src/lib.rs:2:9 | 2 | #![deny(clippy::all)] | ^^^^^^^^^^^ = note: `#[deny(clippy::single_match)]` implied by `#[deny(clippy::all)]` help: try | 415 ~ true => if let (Value::Missing | Value::Null, Value::Missing | Value::Null) = (self.0, rhs.0) { 416 + return Value::Boolean(true) 417 ~ }, |
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: partiql-value/src/lib.rs#L415
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> partiql-value/src/lib.rs:415:21 | 415 | true => match (self.0, rhs.0) { | _____________________^ 416 | | (Value::Missing | Value::Null, Value::Missing | Value::Null) => { 417 | | return Value::Boolean(true) 418 | | } 419 | | _ => {} 420 | | }, | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match note: the lint level is defined here --> partiql-value/src/lib.rs:2:9 | 2 | #![deny(clippy::all)] | ^^^^^^^^^^^ = note: `#[deny(clippy::single_match)]` implied by `#[deny(clippy::all)]` help: try | 415 ~ true => if let (Value::Missing | Value::Null, Value::Missing | Value::Null) = (self.0, rhs.0) { 416 + return Value::Boolean(true) 417 ~ }, |
Build and Test (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.