[core] Replace for_each with for loop

15 jobs for cmichi-support-quickcheck-tests in 9 minutes and 15 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Check
passed #574837
linux-docker
check-std

00:01:54

passed #574838
linux-docker
check-wasm

00:01:59

 
  Workspace
passed #574839
linux-docker
build-std

00:00:59

passed #574840
linux-docker
build-wasm

00:00:58

passed #574843
linux-docker
clippy-std

00:01:31

passed #574844
linux-docker
clippy-wasm

00:01:10

passed #574842
linux-docker
codecov

00:02:55

passed #574845
linux-docker
fmt

00:00:58

passed #574841
linux-docker
test

00:01:42

 
  Examples
passed #574848
linux-docker
examples-clippy-std

00:01:20

passed #574849
linux-docker
examples-clippy-wasm

00:00:44

passed #574850
linux-docker
examples-contract-build

00:03:16

passed #574847
linux-docker
examples-fmt

00:00:19

passed #574851
linux-docker
examples-generate-metadata

00:02:59

passed #574846
linux-docker
examples-test

00:01:37