Skip to content

Commit

Permalink
Lint: Elide an elidable lifetime.
Browse files Browse the repository at this point in the history
From nightly clippy.
  • Loading branch information
kpreid committed Oct 14, 2024
1 parent bb8de0e commit a7caef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all-is-cubes/src/transaction/tester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct TransactionAndPredicate<'a, Tr: Transaction> {
predicate: Rc<dyn Fn(&Tr::Target, &Tr::Target) -> PredicateRes + 'a>,
}

impl<'a, Tr: Transaction + Clone> Clone for TransactionAndPredicate<'a, Tr> {
impl<Tr: Transaction + Clone> Clone for TransactionAndPredicate<'_, Tr> {
fn clone(&self) -> Self {
TransactionAndPredicate {
transaction: self.transaction.clone(),
Expand Down

0 comments on commit a7caef1

Please sign in to comment.