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 a4c8b20 commit 9edb684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions module/core/former/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
#![ doc( html_root_url = "https://docs.rs/former/latest/former/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]

// xxx : remove
// zzz : remove
#![ allow( missing_docs ) ]

// xxx : describe "Context-aware forming process"
// zzz : describe "Context-aware forming process"
// zzz : explain role of container in former

/// Axiomatic things.
#[ cfg( feature = "enabled" ) ]
Expand Down Expand Up @@ -135,4 +136,3 @@ pub mod prelude
pub use super::component::*;
}

// xxx : explain role of container in former
7 changes: 5 additions & 2 deletions module/core/former/tests/inc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ mod former_tests
// #[ cfg( any( not( feature = "no_std" ) ) ) ]
// mod subformer_shortcut;

// xxx : uncomment

}

#[ cfg( feature = "derive_components" ) ]
Expand Down Expand Up @@ -108,7 +110,7 @@ only_for_terminal_module!
println!( "current_dir : {:?}", std::env::current_dir().unwrap() );
// let t = test_tools::compiletime::TestCases::new();

// xxx
// zzz : uncomment
// t.compile_fail( "tests/inc/compiletime/former_bad_attr.rs" );
// t.pass( "tests/inc/compiletime/former_hashmap_without_parameter.rs" );
// t.pass( "tests/inc/compiletime/former_vector_without_parameter.rs" );
Expand All @@ -125,7 +127,8 @@ only_for_terminal_module!
println!( "current_dir : {:?}", std::env::current_dir().unwrap() );
let _t = test_tools::compiletime::TestCases::new();

//t.compile_fail( "tests/inc/compiletime/components_component_from_debug.rs" );
// zzz : make it working test
//t.run( "tests/inc/compiletime/components_component_from_debug.rs" );

}

Expand Down

0 comments on commit 9edb684

Please sign in to comment.