Skip to content

rm println in lock

rm println in lock #45

GitHub Actions / clippy succeeded Oct 29, 2023 in 1s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 78 in src/redis/rwlock/lock.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `conn` is never read

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>,
   |                ^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 1 in src/redis/list.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `crate::redis::Generic`

warning: unused import: `crate::redis::Generic`
 --> src/redis/list.rs:1:5
  |
1 | use crate::redis::Generic;
  |     ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default