loosen icnext_point

This commit is contained in:
AF 2023-07-29 14:32:23 +00:00
parent 486b4de7f8
commit 4b2cbecd5b
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ impl<'a: 'c, 'c, Ctx: Context<'a>> InCtx<'a, Ctx> for Demoted<'a, 'c, Ctx> {
Ok((address, Self(dectx)))
}
fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>(
fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>(
self,
factory: A::Fctr,
err: impl FnOnce(&[u8]) -> E,

View File

@ -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>;
/// Read the next [Point].
fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>(
fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>(
self,
factory: A::Fctr,
err: impl FnOnce(&[u8]) -> E,