diff --git a/cli/src/cli_util.rs b/cli/src/cli_util.rs index fb8778f8f..2acb4d4f8 100644 --- a/cli/src/cli_util.rs +++ b/cli/src/cli_util.rs @@ -1160,7 +1160,7 @@ impl WorkspaceCommandHelper { } pub fn check_rewritable<'a>( - &'a self, + &self, commits: impl IntoIterator, ) -> Result<(), CommandError> { self.check_repo_rewritable(self.repo().as_ref(), commits)