Skip to content

Commit e595a13

Browse files
committed
refactor: repair clippy lint
1 parent 2dae60e commit e595a13

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/patch/revspec.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ impl SingleRevisionSpec {
332332
SingleRevisionSpec::PatchAndGitLike(patch_like, git_like) => {
333333
patch_like.resolve_object(repo, stack).or_else(|e| {
334334
repo.rev_parse_single_ex(git_like)
335-
.map_err(anyhow::Error::from)
336335
.and_then(|id| id.object().map_err(anyhow::Error::from))
337336
.map_err(|_| e)
338337
})?

0 commit comments

Comments
 (0)