chore(deps): bump the dependencies group with 1 update #61
ci.yml
on: pull_request
stable / fmt
11s
nightly / doc
21s
ubuntu / stable / coverage
46s
Spell Check
4s
Matrix: clippy
Matrix: os-check
Matrix: required
Annotations
8 warnings
you should consider adding a `Default` implementation for `LR0ItemSet<'grammar>`:
src/lr0/core.rs#L168
warning: you should consider adding a `Default` implementation for `LR0ItemSet<'grammar>`
--> src/lr0/core.rs:168:5
|
168 | / pub fn new() -> Self {
169 | | Self {
170 | | items: HashSet::new(),
171 | | }
172 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
167 + impl<'grammar> Default for LR0ItemSet<'grammar> {
168 + fn default() -> Self {
169 + Self::new()
170 + }
171 + }
|
|
this lifetime isn't used in the function definition:
src/lr0/core.rs#L100
warning: this lifetime isn't used in the function definition
--> src/lr0/core.rs:100:23
|
100 | pub fn transition<'a>(&self, from: usize, via: &Term) -> Option<usize> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
struct `LR0Closure` has a public `len` method, but no `is_empty` method:
src/lr0/core.rs#L96
warning: struct `LR0Closure` has a public `len` method, but no `is_empty` method
--> src/lr0/core.rs:96:5
|
96 | pub fn len(&self) -> usize {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
= note: `#[warn(clippy::len_without_is_empty)]` on by default
|
you are using an explicit closure for copying elements:
src/lr0/core.rs#L51
warning: you are using an explicit closure for copying elements
--> src/lr0/core.rs:51:20
|
51 | .chain(self.transitions.values().map(|i| *i))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `self.transitions.values().copied()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
|
associated items `new`, `get`, and `set` are never used:
src/utils/table.rs#L43
warning: associated items `new`, `get`, and `set` are never used
--> src/utils/table.rs:43:8
|
42 | impl<Row: Eq + Hash, Col: Eq + Hash, V> Table<Row, Col, V> {
| ---------------------------------------------------------- associated items in this implementation
43 | fn new() -> Self {
| ^^^
...
49 | fn get(&self, row: &Row, col: &Col) -> Option<&V> {
| ^^^
...
53 | fn set(&mut self, row: Row, col: Col, v: V) {
| ^^^
|
field `map` is never read:
src/utils/table.rs#L39
warning: field `map` is never read
--> src/utils/table.rs:39:5
|
38 | pub struct Table<Row: Eq + Hash, Col: Eq + Hash, V> {
| ----- field in this struct
39 | map: HashMap<(Row, Col), V>,
| ^^^
|
= note: `#[warn(dead_code)]` on by default
|
stable / clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|