Repository navigation
chore: align Dependabot update schedules #19
ci.yml
on: pull_request
linting
10s
minimal-versions
17s
Matrix: build-and-test
Annotations
8 errors and 6 warnings
|
stable
Process completed with exit code 1.
|
|
this `match` expression can be replaced with `?`:
src/array_map/mod.rs#L436
error: this `match` expression can be replaced with `?`
--> src/array_map/mod.rs:436:21
|
436 | let c = match current {
| _____________________^
437 | | Some(c) => c,
438 | | None => return None,
439 | | };
| |_____________^ help: try instead: `current?`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#question_mark
|
|
this `match` expression can be replaced with `?`:
src/array_map/mod.rs#L199
error: this `match` expression can be replaced with `?`
--> src/array_map/mod.rs:199:13
|
199 | / match current {
200 | | None => return None,
201 | | Some(val) => {
202 | | let node = self.node_at(val).expect("Invalid node tree");
... |
212 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#question_mark
help: try instead
|
199 ~ {
200 + let val = current?;
201 + let node = self.node_at(val).expect("Invalid node tree");
202 + current = match node.kv.0.partial_cmp(key) {
203 + None => return None,
204 + Some(Ordering::Equal) => {
205 + return Some(self.node_at_mut(val).expect("Invalid node tree"));
206 + }
207 + Some(Ordering::Less) => node.children[0],
208 + Some(Ordering::Greater) => node.children[1],
209 + };
210 + }
|
|
|
this `match` expression can be replaced with `?`:
src/array_map/mod.rs#L179
error: this `match` expression can be replaced with `?`
--> src/array_map/mod.rs:179:13
|
179 | / match current {
180 | | None => return None,
181 | | Some(val) => {
182 | | let node = self.node_at(val).expect("Invalid node tree");
... |
190 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#question_mark
= note: `-D clippy::question-mark` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::question_mark)]`
help: try instead
|
179 ~ {
180 + let val = current?;
181 + let node = self.node_at(val).expect("Invalid node tree");
182 + current = match node.kv.0.partial_cmp(key) {
183 + None => return None,
184 + Some(Ordering::Equal) => return Some(node),
185 + Some(Ordering::Less) => node.children[0],
186 + Some(Ordering::Greater) => node.children[1],
187 + };
188 + }
|
|
|
`#[must_use]` attribute cannot be used on trait methods in impl blocks:
src/array_map/iterators.rs#L86
error: `#[must_use]` attribute cannot be used on trait methods in impl blocks
--> src/array_map/iterators.rs:86:5
|
86 | #[must_use]
| ^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits
= note: `-D unused-attributes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_attributes)]`
|
|
linting
Clippy had exited with the 101 exit code
|
|
minimal-versions
Process completed with exit code 1.
|
|
1.61.0
Process completed with exit code 1.
|
|
stable
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
linting
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions-rs/clippy-check@v1, actions/checkout@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
linting
Unexpected input(s) 'clippy', valid inputs are ['toolchain', 'target', 'components', 'cache']
|
|
linting
Unexpected input(s) 'clippy', valid inputs are ['toolchain', 'target', 'components', 'cache']
|
|
minimal-versions
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
1.61.0
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|