diff --git a/src/core.rs b/src/core.rs index d6625f3..89509de 100644 --- a/src/core.rs +++ b/src/core.rs @@ -86,7 +86,7 @@ pub type ParseResult<'a, Ctx, F> = /// Trait representing deserialisation rules for [Mentionable]s. /// Crucial for [`TypelessMentionable`] and therefore [`Mentionable::points`]. -pub trait Factory<'a, Ctx: 'a + Context>: Clone + 'a { +pub trait Factory<'a, Ctx: 'a + Context>: 'a + Clone { /// Type of the associated objects. type Mtbl: Mentionable<'a, Ctx, Fctr = Self>; /// Type of an error that [`Factory::deserialize`] can fail with.