From e161bedd11669b9e439283ff81a739e07296f176 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Thu, 2 Feb 2023 15:52:23 -0800 Subject: [PATCH] cli_util: elide a lifetime --- src/cli_util.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/cli_util.rs b/src/cli_util.rs index add966dc9..02dc4f916 100644 --- a/src/cli_util.rs +++ b/src/cli_util.rs @@ -897,10 +897,7 @@ impl WorkspaceCommandHelper { Ok(()) } - pub fn start_transaction<'a>( - &'a mut self, - description: &str, - ) -> WorkspaceCommandTransaction<'a> { + pub fn start_transaction(&mut self, description: &str) -> WorkspaceCommandTransaction { let tx = start_repo_transaction(&self.repo, &self.settings, &self.string_args, description); WorkspaceCommandTransaction { helper: self, tx } }