Add AsRef impls for Error
Before adoption: this commit came in with the history the project adopted, so no landing records it.
These are potentially friendlier than fiddling with &** to get the trait object. let _: &dyn StdError = error.as_ref();
authored by David Tolnay · committed by David Tolnay · parent 645a81c · Browse files · 1 file+12 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+12 added−0 removed
- other:+12 added−0 removed