Commit a4daebd
feat: accept
This backwards-compatible change makes the interface more general.
`FnOnce` is a supertrait of `FnMut` and `Fn`.
`FnOnce` allows people to use closures that capture non-clone types.
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>FnOnce for updating commands1 parent 917dcc4 commit a4daebd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
0 commit comments