add Makefile with clippy/rustfmt linting, fix all warnings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,12 @@ pub struct DnsPacket {
|
||||
pub resources: Vec<DnsRecord>,
|
||||
}
|
||||
|
||||
impl Default for DnsPacket {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl DnsPacket {
|
||||
pub fn new() -> DnsPacket {
|
||||
DnsPacket {
|
||||
|
||||
Reference in New Issue
Block a user