loosen icnext_point
This commit is contained in:
parent
486b4de7f8
commit
4b2cbecd5b
@ -29,7 +29,7 @@ impl<'a: 'c, 'c, Ctx: Context<'a>> InCtx<'a, Ctx> for Demoted<'a, 'c, Ctx> {
|
|||||||
Ok((address, Self(dectx)))
|
Ok((address, Self(dectx)))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>(
|
fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>(
|
||||||
self,
|
self,
|
||||||
factory: A::Fctr,
|
factory: A::Fctr,
|
||||||
err: impl FnOnce(&[u8]) -> E,
|
err: impl FnOnce(&[u8]) -> E,
|
||||||
|
@ -6,7 +6,7 @@ pub trait InCtx<'a, Ctx: Context<'a>>: Inlining {
|
|||||||
fn icnext_address<E>(self, err: impl FnOnce(&[u8]) -> E) -> Result<(Address, Self), E>;
|
fn icnext_address<E>(self, err: impl FnOnce(&[u8]) -> E) -> Result<(Address, Self), E>;
|
||||||
|
|
||||||
/// Read the next [Point].
|
/// Read the next [Point].
|
||||||
fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>(
|
fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>(
|
||||||
self,
|
self,
|
||||||
factory: A::Fctr,
|
factory: A::Fctr,
|
||||||
err: impl FnOnce(&[u8]) -> E,
|
err: impl FnOnce(&[u8]) -> E,
|
||||||
|
Loading…
Reference in New Issue
Block a user