From c1e17f89bae5564bcabe4c55e73ede88c08ab4c7 Mon Sep 17 00:00:00 2001 From: wandalen Date: Tue, 7 May 2024 13:13:14 +0300 Subject: [PATCH] former : solve problem with container interface --- module/core/former/src/hash_set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/core/former/src/hash_set.rs b/module/core/former/src/hash_set.rs index a73dbc7194..b9d9fc4ca4 100644 --- a/module/core/former/src/hash_set.rs +++ b/module/core/former/src/hash_set.rs @@ -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 ) >, } @@ -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 >; }