Commit d388b5e
committed
Derive
These traits are useful to get expressions like `RustTarget::stable(82,
0).unwrap()` to build, as `unwrap()` requires such a `Result` to
implement `Debug`. The equality comparison traits may also be useful in
cases where pattern matching the enum variants through e.g. `matches!`
or match expressions is deemed less stylish.Debug and eq. comparison traits for InvalidRustTarget enum1 parent 1cd618e commit d388b5e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments