Skip to content

Add changelog

Add changelog #2422

GitHub Actions / clippy succeeded Mar 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.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 34 in partiql-catalog/src/call_defs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

writing `&Vec` instead of `&[_]` involves a new object where a slice will do

warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
  --> partiql-catalog/src/call_defs.rs:34:15
   |
34 |         args: &Vec<CallArgument>,
   |               ^^^^^^^^^^^^^^^^^^ help: change this to: `&[CallArgument]`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
   = note: `#[warn(clippy::ptr_arg)]` on by default

Check warning on line 47883 in /home/runner/work/partiql-lang-rust/partiql-lang-rust/target/debug/build/partiql-parser-0d2f8ec3d2ea6ff4/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-0d2f8ec3d2ea6ff4/out/partiql.rs:47883:25
      |
47883 |         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