rearrange Factory base traits
This commit is contained in:
parent
8bf83d993b
commit
c29225ccfd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user