Skip to content

Commit

Permalink
Remove Box field name type hack todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Nov 3, 2021
1 parent 6886f4c commit 63641b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codegen/src/types/type_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ impl<'a> TypeDefGen<'a> {

let ty_toks = |ty_name: &str, ty_path: &TypePath| {
if ty_name.contains("Box<") {
// todo [AJ] remove this hack once scale-info can represent Box somehow
quote! { ::std::boxed::Box<#ty_path> }
} else {
quote! { #ty_path }
Expand Down

0 comments on commit 63641b4

Please sign in to comment.