Skip to content

Replace ServiceAddress by libsignal_protocol::ServiceId #1004

Replace ServiceAddress by libsignal_protocol::ServiceId

Replace ServiceAddress by libsignal_protocol::ServiceId #1004

GitHub Actions / clippy succeeded Oct 18, 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.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 151 in src/groups_v2/operations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: useless conversion to the same type: `libsignal_protocol::ServiceId`
   --> src/groups_v2/operations.rs:151:22
    |
151 |             address: service_id.into(),
    |                      ^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `service_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