History

thanks clippy

Sebastian Thiel committed 5 years ago

Commit eb8ea221 parent 258a4941 file · +1 −1Browse files

Unified · Split

git-ref/src/transaction.rs+1−1
@@ -154,7 +154,7 @@ mod ext { · 153 unmodified lines
154 // In any case, we don't want the following algorithms to try dereffing it and assume they deal with154 // In any case, we don't want the following algorithms to try dereffing it and assume they deal with
155 // broken refs gracefully.155 // broken refs gracefully.
156 edit.deref = false;156 edit.deref = false;
157 if let Some(Target::Symbolic(referent)) = store.find_one_existing(edit.name.to_partial()).ok() {157 if let Ok(Target::Symbolic(referent)) = store.find_one_existing(edit.name.to_partial()) {
158 new_edits.push(make_entry(158 new_edits.push(make_entry(
159 eid,159 eid,
160 match &mut edit.change {160 match &mut edit.change {