[PR #1801] [MERGED] Fixed some clippy warning #2616

Closed
opened 2026-03-16 10:47:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1801
Author: @darnuria
Created: 10/16/2022
Status: Merged
Merged: 10/26/2022
Merged by: @djc

Base: mainHead: clippy/fix


📝 Commits (3)

  • 22ee400 [clippy] Avoid unnecessary cast.
  • 04a3813 Fix should-implement-trait ZoneUsage impl Default.
  • 0094249 clippy: fix needless-borrow.

📊 Changes

6 files changed (+23 additions, -21 deletions)

View changed files

📝 crates/proto/src/multicast/mdns_stream.rs (+2 -2)
📝 crates/proto/src/openssl/tls_server.rs (+2 -2)
📝 crates/proto/src/rr/domain/usage.rs (+16 -14)
📝 crates/proto/src/rustls/tls_server.rs (+1 -1)
📝 crates/proto/src/serialize/binary/bin_tests.rs (+1 -1)
📝 crates/proto/src/xfer/dns_response.rs (+1 -1)

📄 Description

Leaved the println! warnings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1801 **Author:** [@darnuria](https://github.com/darnuria) **Created:** 10/16/2022 **Status:** ✅ Merged **Merged:** 10/26/2022 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `clippy/fix` --- ### 📝 Commits (3) - [`22ee400`](https://github.com/hickory-dns/hickory-dns/commit/22ee4000c807761ca625a3fa15b1d4e3506b7b9b) [clippy] Avoid unnecessary cast. - [`04a3813`](https://github.com/hickory-dns/hickory-dns/commit/04a381347db620740971cddf3f5177ad3d3410cc) Fix should-implement-trait ZoneUsage impl Default. - [`0094249`](https://github.com/hickory-dns/hickory-dns/commit/0094249e338d54541e2750102416219a0f4178b2) clippy: fix needless-borrow. ### 📊 Changes **6 files changed** (+23 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/multicast/mdns_stream.rs` (+2 -2) 📝 `crates/proto/src/openssl/tls_server.rs` (+2 -2) 📝 `crates/proto/src/rr/domain/usage.rs` (+16 -14) 📝 `crates/proto/src/rustls/tls_server.rs` (+1 -1) 📝 `crates/proto/src/serialize/binary/bin_tests.rs` (+1 -1) 📝 `crates/proto/src/xfer/dns_response.rs` (+1 -1) </details> ### 📄 Description Leaved the `println!` warnings. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 10:47:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2616
No description provided.