]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #102435 - GuillaumeGomez:improve-iterator-reduce-example, r=thomcc...
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Thu, 29 Sep 2022 12:43:20 +0000 (18:13 +0530)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 12:43:20 +0000 (18:13 +0530)
commitb6d1c15076c60593313fc2f66e3b77664e074d2c
tree04bc0aee4aedee6cff429037ff29628a0f7056a0
parent33553e1a289c6e44307d8c0de43f92172da30c89
parent49b25d341286499dd1e30f5825398a8c9cd3a54a
Rollup merge of #102435 - GuillaumeGomez:improve-iterator-reduce-example, r=thomcc,vacuus

Improve example of Iterator::reduce

Fixes #81819.

I took your example `@bstrie` from https://github.com/rust-lang/rust/issues/81819 and applied it here.

r? `@thomcc`