History

thanks clippy

Sebastian Thiel committed 5 years ago

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

Showing the changes to git-ref/src (1 of 1 file). Show all

Unified · Split

git-ref/src/transaction.rs+1−1
@@ -154,7 +154,7 @@ mod ext { · 153 unmodified lines
154154 // In any case, we don't want the following algorithms to try dereffing it and assume they deal with
155155 // broken refs gracefully.
156156 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()) {
158158 new_edits.push(make_entry(
159159 eid,
160160 match &mut edit.change {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t