Skip to content

Merge pull request #295 from whisperfish/locked-for-hyper #225

Merge pull request #295 from whisperfish/locked-for-hyper

Merge pull request #295 from whisperfish/locked-for-hyper #225

GitHub Actions / clippy succeeded Mar 13, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 184 in libsignal-service/src/cipher.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the function `message_decrypt_prekey` doesn't need a mutable reference

warning: the function `message_decrypt_prekey` doesn't need a mutable reference
   --> libsignal-service/src/cipher.rs:184:21
    |
184 |                     &mut self.protocol_store.clone(),
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
    = note: `#[warn(clippy::unnecessary_mut_passed)]` on by default

Check warning on line 333 in libsignal-service/src/groups_v2/manager.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead

warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
   --> libsignal-service/src/groups_v2/manager.rs:333:14
    |
333 |             .timestamp() as u64
    |              ^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default