Commit e2c8257
committed
Fixed to build on Rust 1.28
Using Self::Variant on enum's was added in 1.37.0. This commit goes back to
using the old method of using the actual enum type.1 parent 8734980 commit e2c8257
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments