Skip to content

fix(local-fake-dns): Response Message Header get more fields from Req…

Sign in for the full log view
GitHub Actions / clippy ubuntu-latest succeeded May 27, 2024 in 0s

clippy ubuntu-latest

1 warning

Details

Results

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

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check warning on line 5 in crates/shadowsocks-service/src/local/fake_dns/udp_server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy ubuntu-latest

unused imports: `OpCode`, `header::MessageType`

warning: unused imports: `OpCode`, `header::MessageType`
 --> crates/shadowsocks-service/src/local/fake_dns/udp_server.rs:5:35
  |
5 | use hickory_resolver::proto::op::{header::MessageType, response_code::ResponseCode, Message, OpCode};
  |                                   ^^^^^^^^^^^^^^^^^^^                                        ^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default