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 {
155155 & ' t self ,
156156 repo : & ' t git2:: Repository ,
157157 changed_refs : & ' t [ ( git2:: Oid , git2:: Oid , & ' t str ) ] ,
158- ) -> Result < ReferenceTransaction < ' _ > , std:: io:: Error > {
158+ ) -> Result < ReferenceTransaction < ' t > , std:: io:: Error > {
159159 self . run_reference_transaction_prepare ( repo, changed_refs) ?;
160160
161161 Ok ( ReferenceTransaction {
@@ -272,7 +272,7 @@ pub struct ReferenceTransaction<'t> {
272272 changed_refs : & ' t [ ( git2:: Oid , git2:: Oid , & ' t str ) ] ,
273273}
274274
275- impl < ' t > ReferenceTransaction < ' t > {
275+ impl ReferenceTransaction < ' _ > {
276276 pub fn committed ( self ) {
277277 let Self {
278278 hook,
@@ -292,7 +292,7 @@ impl<'t> ReferenceTransaction<'t> {
292292 }
293293}
294294
295- impl < ' t > Drop for ReferenceTransaction < ' t > {
295+ impl Drop for ReferenceTransaction < ' _ > {
296296 fn drop ( & mut self ) {
297297 self . hook
298298 . run_reference_transaction_aborted ( self . repo , self . changed_refs ) ;
You can’t perform that action at this time.
0 commit comments