[PR #2165] [MERGED] Fix formatting issue in crates/proto/src/op/message.rs #2852

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2165
Author: @marcus0x62
Created: 3/4/2024
Status: Merged
Merged: 3/4/2024
Merged by: @djc

Base: mainHead: fix_fmt_proto_message


📝 Commits (1)

  • 2f74110 Fix formatting issue in crates/proto/src/op/message.rs

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 crates/proto/src/op/message.rs (+1 -1)

📄 Description

A recent commit introduced a formatting issue that is causing CI to fail. This PR fixes that warning.

cargo ws exec cargo fmt -- --check
Diff in /home/runner/work/hickory-dns/hickory-dns/crates/proto/src/op/message.rs at line 1259:
         }
 
         let mut decoder = BinDecoder::new(&byte_vec);
-        
+
         Message::read(&mut decoder).unwrap()
     }
 
error: child command failed to exit successfully
error: Recipe `fmt` failed on line 89 with exit code 1
Error: Process completed with exit code 1.

🔄 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/2165 **Author:** [@marcus0x62](https://github.com/marcus0x62) **Created:** 3/4/2024 **Status:** ✅ Merged **Merged:** 3/4/2024 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `fix_fmt_proto_message` --- ### 📝 Commits (1) - [`2f74110`](https://github.com/hickory-dns/hickory-dns/commit/2f7411065c17f1f77aa99efbd3fbcd0cc982d18d) Fix formatting issue in crates/proto/src/op/message.rs ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/op/message.rs` (+1 -1) </details> ### 📄 Description [A recent commit](https://github.com/hickory-dns/hickory-dns/commit/966bc27c6e2354475ec7e883f7c9e09aa08703be) introduced a formatting issue that is causing CI to fail. This PR fixes that warning. ``` cargo ws exec cargo fmt -- --check Diff in /home/runner/work/hickory-dns/hickory-dns/crates/proto/src/op/message.rs at line 1259: } let mut decoder = BinDecoder::new(&byte_vec); - + Message::read(&mut decoder).unwrap() } error: child command failed to exit successfully error: Recipe `fmt` failed on line 89 with exit code 1 Error: Process completed with exit code 1. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:11:42 +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#2852
No description provided.