File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
crates/stackable-versioned-macros/src/codegen/container Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ impl Enum {
180
180
quote ! {
181
181
#automatically_derived
182
182
#allow_attribute
183
- impl #impl_generics :: std :: convert:: From <#from_module_ident:: #enum_ident #type_generics> for #for_module_ident:: #enum_ident #type_generics
183
+ impl #impl_generics :: core :: convert:: From <#from_module_ident:: #enum_ident #type_generics> for #for_module_ident:: #enum_ident #type_generics
184
184
#where_clause
185
185
{
186
186
fn from( #from_enum_ident: #from_module_ident:: #enum_ident #type_generics) -> Self {
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ impl Struct {
101
101
102
102
quote ! {
103
103
#automatically_derived
104
- impl :: std :: convert:: From <#from_module_ident:: #object_struct_ident> for #for_module_ident:: #object_struct_ident {
104
+ impl :: core :: convert:: From <#from_module_ident:: #object_struct_ident> for #for_module_ident:: #object_struct_ident {
105
105
fn from( #from_struct_parameter_ident: #from_module_ident:: #object_struct_ident) -> Self {
106
106
#from_inner
107
107
}
@@ -551,7 +551,7 @@ impl Struct {
551
551
field: "kind" . to_owned( )
552
552
} ) ?;
553
553
554
- if kind = = #enum_ident_string {
554
+ if kind ! = #enum_ident_string {
555
555
return Err ( #parse_object_error:: UnexpectedKind {
556
556
kind: kind. to_owned( ) ,
557
557
expected: #enum_ident_string. to_owned( ) ,
You can’t perform that action at this time.
0 commit comments