diff --git a/components/salsa-macros/src/xform.rs b/components/salsa-macros/src/xform.rs index 43ffa046..4c719cbe 100644 --- a/components/salsa-macros/src/xform.rs +++ b/components/salsa-macros/src/xform.rs @@ -5,7 +5,7 @@ pub(crate) struct ChangeLt<'a> { to: String, } -impl<'a> ChangeLt<'a> { +impl ChangeLt<'_> { pub fn elided_to(db_lt: &syn::Lifetime) -> Self { ChangeLt { from: Some("_"), diff --git a/src/input/setter.rs b/src/input/setter.rs index 6a636c5a..4f157565 100644 --- a/src/input/setter.rs +++ b/src/input/setter.rs @@ -45,7 +45,7 @@ where } } -impl<'setter, C, S, F> Setter for SetterImpl<'setter, C, S, F> +impl Setter for SetterImpl<'_, C, S, F> where C: Configuration, S: FnOnce(&mut C::Fields, F) -> F, diff --git a/src/table/sync.rs b/src/table/sync.rs index 6a02bc8c..dfe78a23 100644 --- a/src/table/sync.rs +++ b/src/table/sync.rs @@ -85,7 +85,7 @@ pub(crate) struct ClaimGuard<'me> { sync_table: &'me SyncTable, } -impl<'me> ClaimGuard<'me> { +impl ClaimGuard<'_> { fn remove_from_map_and_unblock_queries(&self, wait_result: WaitResult) { let mut syncs = self.sync_table.syncs.write(); @@ -101,7 +101,7 @@ impl<'me> ClaimGuard<'me> { } } -impl<'me> Drop for ClaimGuard<'me> { +impl Drop for ClaimGuard<'_> { fn drop(&mut self) { let wait_result = if std::thread::panicking() { WaitResult::Panicked