mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-14 19:54:31 +00:00
cli: remove unneeded lifetime bound from check_rewritable()
This commit is contained in:
parent
b1fca954cf
commit
b9039c3c2d
@ -1160,7 +1160,7 @@ impl WorkspaceCommandHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn check_rewritable<'a>(
|
pub fn check_rewritable<'a>(
|
||||||
&'a self,
|
&self,
|
||||||
commits: impl IntoIterator<Item = &'a CommitId>,
|
commits: impl IntoIterator<Item = &'a CommitId>,
|
||||||
) -> Result<(), CommandError> {
|
) -> Result<(), CommandError> {
|
||||||
self.check_repo_rewritable(self.repo().as_ref(), commits)
|
self.check_repo_rewritable(self.repo().as_ref(), commits)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user