@@ -120,7 +120,7 @@ pub struct Transaction<'a, S: KVStore, M> {
120120 _mode : M ,
121121}
122122
123- impl < ' a , S : KVStore > KVTransaction for Transaction < ' a , S , Write > {
123+ impl < S : KVStore > KVTransaction for Transaction < ' _ , S , Write > {
124124 // An exclusive lock has already been taken.
125125 fn commit ( mut self ) -> KVResult < ( ) > {
126126 let mut guard = self . backend . data . lock ( ) . unwrap ( ) ;
@@ -135,7 +135,7 @@ impl<'a, S: KVStore> KVTransaction for Transaction<'a, S, Write> {
135135 }
136136}
137137
138- impl < ' a , S : KVStore , M > Drop for Transaction < ' a , S , M > {
138+ impl < S : KVStore , M > Drop for Transaction < ' _ , S , M > {
139139 fn drop ( & mut self ) {
140140 if self . token . is_some ( ) && !thread:: panicking ( ) {
141141 panic ! ( "Transaction prematurely dropped. Must call `.commit()` or `.rollback()`." ) ;
@@ -177,7 +177,7 @@ where
177177 }
178178}
179179
180- impl < ' a , S : KVStore > KVWrite < S > for Transaction < ' a , S , Write >
180+ impl < S : KVStore > KVWrite < S > for Transaction < ' _ , S , Write >
181181where
182182 S :: Repr : Hash + Eq ,
183183{
@@ -231,7 +231,7 @@ where
231231 }
232232}
233233
234- impl < ' a , S , K , V > Iterator for KVIter < ' a , S , K , V >
234+ impl < S , K , V > Iterator for KVIter < ' _ , S , K , V >
235235where
236236 S : KVStore + Decode < K > + Decode < V > ,
237237{
0 commit comments