ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: remove unneeded lifetime bound from check_rewritable()

This commit is contained in:
Yuya Nishihara 2024-05-14 17:15:21 +09:00
parent b1fca954cf
commit b9039c3c2d

View file

@ -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)