Commit 076750d
Fix
The `EnumAsInner` derive previously bound all fields in `is_*`
methods, triggering `unused_assignments` warnings on nightly
Rust. Update patterns to `{ .. }` (named) and `(..)` (unnamed)
so fields are ignored while preserving behavior.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>is_* methods to avoid unused variable warnings on nightly1 parent 6770c8a commit 076750d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
0 commit comments