Skip to content

Add unit test for notify() builtin invocation. #48

Add unit test for notify() builtin invocation.

Add unit test for notify() builtin invocation. #48

GitHub Actions / clippy succeeded Jun 27, 2024 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 203 in crates/db-relbox/src/rel_transaction.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `bytes::Bytes`

warning: useless conversion to the same type: `bytes::Bytes`
   --> crates/db-relbox/src/rel_transaction.rs:203:49
    |
203 |                 let domain = Domain::from_bytes(Bytes::from(domain_bytes))
    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Bytes::from()`: `domain_bytes`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `#[warn(clippy::useless_conversion)]` on by default