remove extraneous comments

This commit is contained in:
Rowan 2025-07-09 12:42:06 -04:00
parent ba3fb5357c
commit 19a025d47f

View file

@ -67,7 +67,7 @@ pub fn os_display_derive(input: TokenStream) -> TokenStream {
quote_spanned! {variant.span() => quote_spanned! {variant.span() =>
match self { match self {
#name::#variant_name(value) => f.write_str(&value.to_string()), #name::#variant_name(value) => f.write_str(&value.to_string()),
_ => unreachable!(), // Should not happen with match arm _ => unreachable!(),
} }
} }
} }
@ -76,7 +76,7 @@ pub fn os_display_derive(input: TokenStream) -> TokenStream {
quote_spanned! {variant.span() => quote_spanned! {variant.span() =>
match self { match self {
#name::#variant_name{#field_ident} => f.write_str(&#field_ident.to_string()), #name::#variant_name{#field_ident} => f.write_str(&#field_ident.to_string()),
_ => unreachable!(), // Should not happen with match arm _ => unreachable!(),
} }
} }
} }