Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Mar 30, 2024
1 parent 811f3e8 commit 6849acf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/core/former_meta/src/derive/former.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ fn field_form_map( field : &FormerField< '_ > ) -> Result< TokenStream >
{
qt!
{
::core::option::Option::Some( ( #default_val ).into() )
::core::option::Option::Some( ::core::convert::Into::into( #default_val ) )
}
}
};
Expand Down Expand Up @@ -457,7 +457,7 @@ fn field_form_map( field : &FormerField< '_ > ) -> Result< TokenStream >
{
qt!
{
( #default_val ).into()
::core::convert::Into::into( #default_val )
}
}
};
Expand Down Expand Up @@ -1164,7 +1164,7 @@ pub fn former( input : proc_macro::TokenStream ) -> Result< TokenStream >
{
storage : storage.unwrap(),
context : context,
on_end : ::core::option::Option::Some( on_end.into() ),
on_end : ::core::option::Option::Some( ::core::convert::Into::into( on_end ) ),
}
}

Expand Down

0 comments on commit 6849acf

Please sign in to comment.