Skip to content

Commit

Permalink
Add inline after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Feb 16, 2023
1 parent 12a66b9 commit 9f58c0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zero_copy/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ where
F: Fn(&E::Context) -> Ctx,
Ctx: 'a,
{
#[inline]
fn go<M: Mode>(&self, inp: &mut InputRef<'a, '_, I, E>) -> PResult<M, O, E::Error> {
inp.with_ctx((self.mapper)(inp.ctx()), |inp| self.parser.go::<M>(inp))
}
Expand Down

0 comments on commit 9f58c0d

Please sign in to comment.