ok/jj
1
0
Fork 0
forked from mirrors/jj

revsets: remove unnecessary lifetime parameter

This commit is contained in:
Martin von Zweigbergk 2021-05-28 08:47:32 -07:00
parent 0328381c6c
commit c4e2e6b598

View file

@ -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<Box<dyn Revset<'repo> + 'revset>, RevsetError> {
) -> Result<Box<dyn Revset<'repo> + 'repo>, RevsetError> {
match expression {
RevsetExpression::None => Ok(Box::new(EagerRevset {
index_entries: vec![],