diff --git a/src/rcore/inctx.rs b/src/rcore/inctx.rs index 418fa8a..13342f2 100644 --- a/src/rcore/inctx.rs +++ b/src/rcore/inctx.rs @@ -1,8 +1,11 @@ use super::*; +/// [Inlining] context. pub trait InCtx<'a, Ctx: Context<'a>>: Inlining { + /// [Inlining] equivalent for [`Addresses::next`]. fn icnext_address(self, err: impl FnOnce(&[u8]) -> E) -> Result<(Address, Self), E>; + /// [Inlining] equivalent for [`Addresses::next_point`]. fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>( self, factory: A::Fctr, @@ -15,6 +18,7 @@ pub trait InCtx<'a, Ctx: Context<'a>>: Inlining { )) } + /// Clone the reference to the current [Resolver]. fn iresolver(&self) -> Rc>; }