remove extraneous comments
This commit is contained in:
parent
ba3fb5357c
commit
19a025d47f
1 changed files with 2 additions and 2 deletions
|
@ -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!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue