Update Ice example in documentation

This commit is contained in:
Héctor Ramón Jiménez 2025-09-23 02:11:02 +02:00
parent 4366a7cdb9
commit 8a1462b54c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 4 additions and 4 deletions

View file

@ -588,7 +588,7 @@ impl SavedState {
}
}
fn presets() -> impl Iterator<Item = Preset<Todos, Message>> {
fn presets() -> impl IntoIterator<Item = Preset<Todos, Message>> {
[
Preset::new("Empty", || {
(Todos::Loaded(State::default()), Command::none())