fix typo in import #47
Annotations
12 warnings
the borrowed expression implements the required traits:
src/redis/barrier.rs#L160
warning: the borrowed expression implements the required traits
--> src/redis/barrier.rs:160:18
|
160 | .arg(&num)
| ^^^^ help: change this to: `num`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
src/redis/barrier.rs#L159
warning: the borrowed expression implements the required traits
--> src/redis/barrier.rs:159:18
|
159 | .arg(&key)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
field `conn` is never read:
src/redis/rwlock/lock.rs#L78
warning: field `conn` is never read
--> src/redis/rwlock/lock.rs:78:16
|
76 | pub struct RwLock<T> {
| ------ field in this struct
77 | pub(crate) data: Generic<T>,
78 | pub(crate) conn: Option<redis::Connection>,
| ^^^^
|
enum `BarrierError` is never used:
src/redis/barrier.rs#L150
warning: enum `BarrierError` is never used
--> src/redis/barrier.rs:150:6
|
150 | enum BarrierError {
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `crate::redis::Generic`:
src/redis/list.rs#L1
warning: unused import: `crate::redis::Generic`
--> src/redis/list.rs:1:5
|
1 | use crate::redis::Generic;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
redundant field names in struct initialization:
src/redis/barrier.rs#L165
warning: redundant field names in struct initialization
--> src/redis/barrier.rs:165:13
|
165 | uuid: uuid,
| ^^^^^^^^^^ help: replace it with: `uuid`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
Clippy check
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/
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|