Skip to content

Commit

Permalink
former : solve problem with container interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed May 7, 2024
1 parent 10cd231 commit c1e17f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/core/former/src/hash_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ where
#[ derive( Debug, Default ) ]
pub struct HashSetDefinition< K, Context = (), Formed = HashSet< K >, End = ReturnStorage >
where
End : FormingEnd< HashSetDefinitionTypes< K, Context, Formed > >,
K : ::core::cmp::Eq + ::core::hash::Hash,
End : FormingEnd< HashSetDefinitionTypes< K, Context, Formed > >,
{
_phantom : core::marker::PhantomData< ( K, Context, Formed, End ) >,
}
Expand Down Expand Up @@ -173,7 +173,7 @@ where
Definition : FormerDefinition< Storage = HashSet< K >, Formed = () >,
Definition::Types : FormerDefinitionTypes< Storage = HashSet< K >, Formed = () >,
Definition::End : crate::FormingEnd< Definition::Types >,
< Definition as definition::FormerDefinition >::End : Fn( HashSet< K >, Option< Definition::Context > ),
// < Definition as definition::FormerDefinition >::End : Fn( HashSet< K >, Option< Definition::Context > ),
{
type Former = HashSetSubformer< K, Definition::Context, Definition::Formed, Definition::End >;
}
Expand Down

0 comments on commit c1e17f8

Please sign in to comment.