Skip to content

Commit 38b0117

Browse files
authored
Fix codegen without json feature (#391)
1 parent d34d717 commit 38b0117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

butane_codegen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ fn derive_field_type_with_json(struct_name: &Ident) -> TokenStream2 {
437437
}
438438

439439
#[cfg(not(feature = "json"))]
440-
fn derive_field_type_with_json(_struct_name: &Ident) -> TokenStream {
440+
fn derive_field_type_with_json(_struct_name: &Ident) -> TokenStream2 {
441441
panic!("Feature 'json' is required to derive FieldType")
442442
}
443443

0 commit comments

Comments
 (0)