File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ impl Hooks {
155
155
& ' t self ,
156
156
repo : & ' t git2:: Repository ,
157
157
changed_refs : & ' t [ ( git2:: Oid , git2:: Oid , & ' t str ) ] ,
158
- ) -> Result < ReferenceTransaction < ' _ > , std:: io:: Error > {
158
+ ) -> Result < ReferenceTransaction < ' t > , std:: io:: Error > {
159
159
self . run_reference_transaction_prepare ( repo, changed_refs) ?;
160
160
161
161
Ok ( ReferenceTransaction {
@@ -272,7 +272,7 @@ pub struct ReferenceTransaction<'t> {
272
272
changed_refs : & ' t [ ( git2:: Oid , git2:: Oid , & ' t str ) ] ,
273
273
}
274
274
275
- impl < ' t > ReferenceTransaction < ' t > {
275
+ impl ReferenceTransaction < ' _ > {
276
276
pub fn committed ( self ) {
277
277
let Self {
278
278
hook,
@@ -292,7 +292,7 @@ impl<'t> ReferenceTransaction<'t> {
292
292
}
293
293
}
294
294
295
- impl < ' t > Drop for ReferenceTransaction < ' t > {
295
+ impl Drop for ReferenceTransaction < ' _ > {
296
296
fn drop ( & mut self ) {
297
297
self . hook
298
298
. run_reference_transaction_aborted ( self . repo , self . changed_refs ) ;
You can’t perform that action at this time.
0 commit comments