Skip to content

Commit

Permalink
experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Mar 29, 2024
1 parent 44857f5 commit 844dc44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl Struct1Former
Self
{
storage : storage.unwrap(),
context : context,
context,
on_end : ::core::option::Option::Some( on_end ),
}
}
Expand Down Expand Up @@ -250,4 +250,4 @@ impl Struct1Former

//

// include!( "./only_test/primitives.rs" );
include!( "./only_test/primitives.rs" );
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tests_impls!
a_id!( former.storage.int_optional_1, None );
a_id!( former.storage.string_optional_1, None );
a_id!( former.context, None );
a_id!( print!( "{:?}", former.on_end ), print!( "{:?}", Some( the_module::ReturnFormed ) ) );
a_id!( print!( "{:?}", former.on_end ), print!( "{:?}", Some( the_module::ReturnPreformed ) ) );
let former2 = Struct1Former::new();
a_id!( std::mem::size_of_val( &former ), std::mem::size_of_val( &former2 ) );

Expand Down Expand Up @@ -116,7 +116,7 @@ tests_impls!
a_id!( got, exp );

// storage exists
let got = < < Struct1FormerStorage as the_module::Storage >::Definition as the_module::FormerDefinitionTypes >::Formed::former().form();
let got = < Struct1FormerStorage as the_module::Storage >::Formed::former().form();
let exp = Struct1::former().form();
a_id!( got, exp );

Expand Down

0 comments on commit 844dc44

Please sign in to comment.