Switch to non-deprecated proc-macro
key in Cargo.toml.
#186
Annotations
3 warnings
unnecessary use of `get(&button).is_some()`:
src/event/mod.rs#L194
warning: unnecessary use of `get(&button).is_some()`
--> src/event/mod.rs:194:16
|
194 | self.buttons.get(&button).is_some()
| ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains(&button)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `#[warn(clippy::unnecessary_get_then_check)]` on by default
|
Build and test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions-rs/cargo@v1, 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/
|
Build and test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|