Skip to content

Minor cleanup and formatting fixes #2399

Minor cleanup and formatting fixes

Minor cleanup and formatting fixes #2399

GitHub Actions / clippy succeeded Feb 7, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check warning on line 3 in partiql-eval/src/eval/expr/path.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `BorrowMut`

warning: unused import: `BorrowMut`
 --> partiql-eval/src/eval/expr/path.rs:3:32
  |
3 | pub use core::borrow::{Borrow, BorrowMut};
  |                                ^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 47881 in /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-b7f563fc44f4149d/out/partiql.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant pattern matching, consider using `is_some()`

warning: redundant pattern matching, consider using `is_some()`
     --> /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-b7f563fc44f4149d/out/partiql.rs:47881:25
      |
47881 |         let recursive = matches!(rec, Some(_));
      |                         ^^^^^^^^^^^^^^^^^^^^^^ help: try: `rec.is_some()`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
      = note: `#[warn(clippy::redundant_pattern_matching)]` on by default