[PR #1851] [MERGED] Some cargo clippy fix #2652

Closed
opened 2026-03-16 11:00:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1851
Author: @darnuria
Created: 12/4/2022
Status: Merged
Merged: 12/4/2022
Merged by: @bluejekyll

Base: mainHead: clippy/fix


📝 Commits (3)

  • f1b7df3 Clippy: Box default.
  • 78bbbd4 Clippy: Needless borrow.
  • a9d57f2 Clippy: useless cast, Self, into_values().

📊 Changes

6 files changed (+18 additions, -18 deletions)

View changed files

📝 crates/client/src/rr/dnssec/tsig.rs (+1 -1)
📝 crates/client/src/serialize/txt/zone.rs (+1 -1)
📝 crates/resolver/examples/global_resolver.rs (+2 -2)
📝 crates/resolver/src/hosts.rs (+1 -1)
📝 crates/server/src/authority/catalog.rs (+12 -12)
📝 crates/server/src/store/in_memory/authority.rs (+1 -1)

📄 Description

Obtained with clippy 0.1.67 (b3bc6bf 2022-11-24)


🔄 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/1851 **Author:** [@darnuria](https://github.com/darnuria) **Created:** 12/4/2022 **Status:** ✅ Merged **Merged:** 12/4/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `clippy/fix` --- ### 📝 Commits (3) - [`f1b7df3`](https://github.com/hickory-dns/hickory-dns/commit/f1b7df34d8823341874673f117d513227eca6486) Clippy: Box default. - [`78bbbd4`](https://github.com/hickory-dns/hickory-dns/commit/78bbbd495c264a94d343de2c7ff4afbda93ae378) Clippy: Needless borrow. - [`a9d57f2`](https://github.com/hickory-dns/hickory-dns/commit/a9d57f2326a06c3e8f0e2dbf3581c0620b2296a3) Clippy: useless cast, Self, into_values(). ### 📊 Changes **6 files changed** (+18 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `crates/client/src/rr/dnssec/tsig.rs` (+1 -1) 📝 `crates/client/src/serialize/txt/zone.rs` (+1 -1) 📝 `crates/resolver/examples/global_resolver.rs` (+2 -2) 📝 `crates/resolver/src/hosts.rs` (+1 -1) 📝 `crates/server/src/authority/catalog.rs` (+12 -12) 📝 `crates/server/src/store/in_memory/authority.rs` (+1 -1) </details> ### 📄 Description Obtained with clippy 0.1.67 (b3bc6bf 2022-11-24) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:00:51 +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#2652
No description provided.