Skip to content

Fix sending SyncMessage to self #721

Fix sending SyncMessage to self

Fix sending SyncMessage to self #721

GitHub Actions / clippy succeeded Nov 19, 2023 in 1s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
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 653 in libsignal-service/src/sender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `libsignal_protocol::DeviceId`

warning: useless conversion to the same type: `libsignal_protocol::DeviceId`
   --> libsignal-service/src/sender.rs:653:25
    |
653 |                         device_id.into(),
    |                         ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `device_id`
    |
    = 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