Skip to content

Commit

Permalink
IDEA settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasperav committed Apr 23, 2023
1 parent 73b01c4 commit 47bf91e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prost-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ fn try_enumeration(input: TokenStream) -> Result<TokenStream, Error> {

let is_valid = variants
.iter()
.enumerate()
.map(|&(_, ref value)| quote!(#value => true));
let from = variants.iter().map(
|&(ref variant, ref value)| quote!(#value => ::core::option::Option::Some(#ident::#variant)),
Expand Down

0 comments on commit 47bf91e

Please sign in to comment.