Do the following: * Switch to `impl FnOnce` rather than a generic `F`. * Change `update` to return nothing. This was discussed at a libs-api meeting [1]. Tracking issue: https://github.com/rust-lang/rust/issues/50186 [1]: https://github.com/rust-lang/rust/pull/134446#issuecomment-2770842949 |
||
|---|---|---|
| .. | ||
| benches | ||
| tests | ||
| Cargo.toml | ||
| lib.rs | ||