Commit 9fd399f
committed
Don’t use
Instead, expose apparently-fallible conversions in cases where
the implementation happens to be infallible for a given target.
Having an associated type / return type in a public API change
based on the target is a portability hazard.type Error = ! for target-dependant TryFrom impls.1 parent 2178ef8 commit 9fd399f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3681 | 3681 | | |
3682 | 3682 | | |
3683 | 3683 | | |
3684 | | - | |
| 3684 | + | |
3685 | 3685 | | |
3686 | 3686 | | |
3687 | 3687 | | |
| |||
0 commit comments