Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Apr 2, 2024
1 parent 46e46b3 commit b3f750d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
3 changes: 2 additions & 1 deletion module/core/former/src/hash_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ where
/// ```
// xxx : update documentation
// pub type HashSetSubformer< K, Context, End > = ContainerSubformer::< K, HashSetDefinition< K, Context, End > >;
// write: instead of writing long version with ContainerSubformer it's possible to be more concise with help of the type alias
//
pub type HashSetSubformer< K, Context, Formed, End > =
ContainerSubformer::< K, HashSetDefinition< K, Context, Formed, End > >;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,41 +349,6 @@ where
>>()
}

// #[ inline( always ) ]
// pub fn vec_1_set< Former2 >( self ) -> Former2
// where
// Former2 : former::FormerBegin
// <
// former::VectorDefinition
// <
// String,
// Self,
// Self,
// __vec_1_end,
// >
// >,
// {
// Former2::_begin( None, Some( self ), __vec_1_end )
// }
//
// pub fn vec_1( self ) ->
// former::VectorSubformer::
// <
// String,
// Self,
// Self,
// __vec_1_end,
// >
// {
// self.vec_1_set::< former::VectorSubformer::
// <
// String,
// Self,
// Self,
// __vec_1_end,
// > >()
// }

#[ inline( always ) ]
pub fn hashmap_1_set< Former2 >( self ) -> Former2
where
Expand Down Expand Up @@ -411,7 +376,7 @@ where
self.hashmap_1_set::< former::ContainerSubformer::
<
( String, String ), former::HashMapDefinition< String, String, Self, Self, __hashmap_1_end >
>>()
> >()
}

#[ inline( always ) ]
Expand Down

0 comments on commit b3f750d

Please sign in to comment.