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)?;
|
not(&mut context.fail_matcher)(i)?;
|
||||||
if context.can_match_bold {
|
if context.can_match_bold {
|
||||||
// if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) {
|
if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) {
|
||||||
// return Ok(v);
|
return Ok(v);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
if context.can_match_link {
|
if context.can_match_link {
|
||||||
// todo
|
// todo
|
||||||
@ -48,6 +48,7 @@ where
|
|||||||
))(i)
|
))(i)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline(always)]
|
||||||
pub fn flat_bold<'a, F>(i: &'a str, context: &mut NomContext<F>) -> Res<&'a str, TextElement<'a>>
|
pub fn flat_bold<'a, F>(i: &'a str, context: &mut NomContext<F>) -> Res<&'a str, TextElement<'a>>
|
||||||
where
|
where
|
||||||
F: for<'b> FnMut(&'b str) -> IResult<&'b str, &'b str, VerboseError<&'b str>>,
|
F: for<'b> FnMut(&'b str) -> IResult<&'b str, &'b str, VerboseError<&'b str>>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user