diff --git a/lib/src/revset.rs b/lib/src/revset.rs index 5c64106b8..8302be58c 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -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>, expression: &RevsetExpression, -) -> Result + 'revset>, RevsetError> { +) -> Result + 'repo>, RevsetError> { match expression { RevsetExpression::None => Ok(Box::new(EagerRevset { index_entries: vec![],