forked from mirrors/jj
revsets: remove unnecessary lifetime parameter
This commit is contained in:
parent
0328381c6c
commit
c4e2e6b598
1 changed files with 2 additions and 2 deletions
|
@ -778,10 +778,10 @@ impl<'revset, 'repo> Iterator for DifferenceRevsetIterator<'revset, 'repo> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn evaluate_expression<'revset, 'repo: 'revset>(
|
pub fn evaluate_expression<'repo>(
|
||||||
repo: RepoRef<'repo>,
|
repo: RepoRef<'repo>,
|
||||||
expression: &RevsetExpression,
|
expression: &RevsetExpression,
|
||||||
) -> Result<Box<dyn Revset<'repo> + 'revset>, RevsetError> {
|
) -> Result<Box<dyn Revset<'repo> + 'repo>, RevsetError> {
|
||||||
match expression {
|
match expression {
|
||||||
RevsetExpression::None => Ok(Box::new(EagerRevset {
|
RevsetExpression::None => Ok(Box::new(EagerRevset {
|
||||||
index_entries: vec![],
|
index_entries: vec![],
|
||||||
|
|
Loading…
Reference in a new issue