Inlining did not fix it.
This commit is contained in:
parent
c5d255d357
commit
d23f7ce7fe
@ -31,9 +31,9 @@ where
|
||||
{
|
||||
not(&mut context.fail_matcher)(i)?;
|
||||
if context.can_match_bold {
|
||||
// if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) {
|
||||
// return Ok(v);
|
||||
// }
|
||||
if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) {
|
||||
return Ok(v);
|
||||
}
|
||||
}
|
||||
if context.can_match_link {
|
||||
// todo
|
||||
@ -48,6 +48,7 @@ where
|
||||
))(i)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn flat_bold<'a, F>(i: &'a str, context: &mut NomContext<F>) -> Res<&'a str, TextElement<'a>>
|
||||
where
|
||||
F: for<'b> FnMut(&'b str) -> IResult<&'b str, &'b str, VerboseError<&'b str>>,
|
||||
|
Loading…
Reference in New Issue
Block a user