Expanded rematch_target to 3 lifetimes, no fix.
This commit is contained in:
@@ -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")]
|
||||
pub fn rematch_target<'r, 's>(
|
||||
pub fn rematch_target<'x, 'r, 's>(
|
||||
context: Context<'r, 's>,
|
||||
target: &'r Vec<Object<'s>>,
|
||||
target: &'x Vec<Object<'s>>,
|
||||
input: &'s str,
|
||||
) -> Res<&'s str, Vec<Object<'s>>> {
|
||||
let mut remaining = input;
|
||||
|
||||
Reference in New Issue
Block a user