Skip to content

Implement coalescing of fetch_all #401

Implement coalescing of fetch_all

Implement coalescing of fetch_all #401

GitHub Actions / clippy failed Jan 18, 2024 in 1s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 459 in pkcs11/src/backend/key.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> pkcs11/src/backend/key.rs:459:46
    |
459 |     fetch_key(&id, parsed.raw_id, login_ctx, &db)
    |                                              ^^^ help: change this to: `db`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `-D clippy::needless-borrow` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`

Check failure on line 459 in pkcs11/src/backend/key.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> pkcs11/src/backend/key.rs:459:46
    |
459 |     fetch_key(&id, parsed.raw_id, login_ctx, &db)
    |                                              ^^^ help: change this to: `db`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `-D clippy::needless-borrow` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`