Skip to content

Commit

Permalink
feat: Bound derive(Getable) by 'value byte default
Browse files Browse the repository at this point in the history
This should be the more common case
  • Loading branch information
Marwes committed Aug 4, 2018
1 parent 83d50d3 commit 597b696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/src/getable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ fn create_getable_bounds(generics: &Generics) -> Vec<TokenStream> {

fn create_lifetime_bounds(generics: &Generics) -> Vec<TokenStream> {
map_lifetimes(generics, |lifetime| {
quote! { #lifetime: '__vm, '__vm: #lifetime }
quote! { #lifetime: '__value, '__value: #lifetime }
})
}

Expand Down

0 comments on commit 597b696

Please sign in to comment.