Skip to content

Commit

Permalink
Revert "Show turbofish optional"
Browse files Browse the repository at this point in the history
This reverts commit 8b19147.
  • Loading branch information
dtolnay committed Jan 30, 2021
1 parent 4e776b8 commit 3fdef75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ where
// Caller is looking for an E pointer and e is ErrorImpl<E>, take a
// pointer to its E field.
let unerased = e.cast::<ErrorImpl<E>>().deref();
Some(Ref::new(&unerased._object).cast())
Some(Ref::new(&unerased._object).cast::<()>())
} else {
None
}
Expand Down

0 comments on commit 3fdef75

Please sign in to comment.