use r
methods in regular stack
This commit is contained in:
parent
c07f004ece
commit
f2ff6b8e9d
@ -116,7 +116,7 @@ where
|
||||
let (rest, inctx) = self.parse_point(inctx)?;
|
||||
let element = self
|
||||
.element_factory
|
||||
.deserialize(inctx)
|
||||
.rdeserialize(inctx)
|
||||
.map_err(StackParseError::Element)?;
|
||||
Ok(StackNode { rest, element })
|
||||
}
|
||||
@ -124,7 +124,7 @@ where
|
||||
fn crextend(&self, mut mentionable: Self::Mtbl, tail: &[u8]) -> ParseResult<'a, Ctx, Self> {
|
||||
mentionable.element = self
|
||||
.element_factory
|
||||
.extend(mentionable.element, tail)
|
||||
.rextend(mentionable.element, tail)
|
||||
.map_err(StackParseError::Element)?;
|
||||
Ok(mentionable)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user