Skip to content

Commit

Permalink
cli: remove unneeded lifetime bound from check_rewritable()
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed May 14, 2024
1 parent b1fca95 commit b9039c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/cli_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ impl WorkspaceCommandHelper {
}

pub fn check_rewritable<'a>(
&'a self,
&self,
commits: impl IntoIterator<Item = &'a CommitId>,
) -> Result<(), CommandError> {
self.check_repo_rewritable(self.repo().as_ref(), commits)
Expand Down

0 comments on commit b9039c3

Please sign in to comment.