[PR #2121] [MERGED] get(0) to first() and zerocopy package updates to fix clippy and cargo audit errors. #2821

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2121
Author: @marcus0x62
Created: 12/29/2023
Status: Merged
Merged: 1/1/2024
Merged by: @bluejekyll

Base: mainHead: rr_soa_get_fix


📝 Commits (2)

  • 3b31a04 Change self.records.get(0) to self.records.first() in message_request.rs and rr_set.rs
  • 7248c47 Update zerocopy and zerocopy-derive to 0.7.32 (from 0.7.11) to address RUSTSEC-2023-0074.

📊 Changes

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

View changed files

📝 Cargo.lock (+4 -4)
📝 crates/proto/src/rr/rr_set.rs (+1 -1)
📝 crates/server/src/authority/message_request.rs (+1 -1)

📄 Description

This is throwing a clippy warning in unrelated PRs.


🔄 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/2121 **Author:** [@marcus0x62](https://github.com/marcus0x62) **Created:** 12/29/2023 **Status:** ✅ Merged **Merged:** 1/1/2024 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `rr_soa_get_fix` --- ### 📝 Commits (2) - [`3b31a04`](https://github.com/hickory-dns/hickory-dns/commit/3b31a04ef6f1fd27f4b1bb6cee3d2d16bca5c5a0) Change self.records.get(0) to self.records.first() in message_request.rs and rr_set.rs - [`7248c47`](https://github.com/hickory-dns/hickory-dns/commit/7248c4748ae6924b7699fcf2d2ee58909ef52366) Update zerocopy and zerocopy-derive to 0.7.32 (from 0.7.11) to address RUSTSEC-2023-0074. ### 📊 Changes **3 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+4 -4) 📝 `crates/proto/src/rr/rr_set.rs` (+1 -1) 📝 `crates/server/src/authority/message_request.rs` (+1 -1) </details> ### 📄 Description This is throwing a clippy warning in unrelated PRs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:10:05 +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#2821
No description provided.