diff --git a/psopacket/src/lib.rs b/psopacket/src/lib.rs index 08b3b6c..9e8df70 100644 --- a/psopacket/src/lib.rs +++ b/psopacket/src/lib.rs @@ -249,7 +249,7 @@ fn generate_debug_impl(name: syn::Ident, attrs: &Vec) -> proc_macro2:: quote! { impl std::fmt::Debug for #name { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { - write!(f, "packet {} {{\n", #name_str)?; + write!(f, "{} {{\n", #name_str)?; #(#dbg_write)* write!(f, "}}") }