Expanded rematch_target to 3 lifetimes, no fix.
This commit is contained in:
parent
ddaefdbf78
commit
4966b02b79
@ -48,9 +48,9 @@ pub fn radio_link<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s s
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(ret, level = "debug")]
|
#[tracing::instrument(ret, level = "debug")]
|
||||||
pub fn rematch_target<'r, 's>(
|
pub fn rematch_target<'x, 'r, 's>(
|
||||||
context: Context<'r, 's>,
|
context: Context<'r, 's>,
|
||||||
target: &'r Vec<Object<'s>>,
|
target: &'x Vec<Object<'s>>,
|
||||||
input: &'s str,
|
input: &'s str,
|
||||||
) -> Res<&'s str, Vec<Object<'s>>> {
|
) -> Res<&'s str, Vec<Object<'s>>> {
|
||||||
let mut remaining = input;
|
let mut remaining = input;
|
||||||
|
@ -246,7 +246,7 @@ fn _text_markup_end<'r, 's, 'x>(
|
|||||||
|
|
||||||
impl<'x> RematchObject for Bold<'x> {
|
impl<'x> RematchObject for Bold<'x> {
|
||||||
fn rematch_object<'r, 's>(
|
fn rematch_object<'r, 's>(
|
||||||
&'r self,
|
&self,
|
||||||
_context: Context<'r, 's>,
|
_context: Context<'r, 's>,
|
||||||
input: &'s str,
|
input: &'s str,
|
||||||
) -> Res<&'s str, Object<'s>> {
|
) -> Res<&'s str, Object<'s>> {
|
||||||
@ -257,7 +257,7 @@ impl<'x> RematchObject for Bold<'x> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(ret, level = "debug")]
|
// #[tracing::instrument(ret, level = "debug")]
|
||||||
fn _rematch_text_markup_object<'r, 's, 'x>(
|
fn _rematch_text_markup_object<'r, 's, 'x>(
|
||||||
context: Context<'r, 's>,
|
context: Context<'r, 's>,
|
||||||
input: &'s str,
|
input: &'s str,
|
||||||
|
Loading…
Reference in New Issue
Block a user