Commit d2780f1
committed
Explicitly use an empty vector for structural eq
Previous code was technically valid since the moved from vector was
empty but explicitly setting it empty with it's own name will help.
gcc/rust/ChangeLog:
* expand/rust-derive-eq.cc: Use empty vector explicitly.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>1 parent fa88250 commit d2780f1
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | | - | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
0 commit comments