From c4e2e6b598a7d47e95955cb6f137af5bda682439 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 28 May 2021 08:47:32 -0700 Subject: [PATCH] revsets: remove unnecessary lifetime parameter --- lib/src/revset.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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![],