[core] Shorten code

17 jobs for cmichi-entry-api-for-hashmap in 13 minutes and 7 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Check
passed #595898
linux-docker
check-std

00:01:47

passed #595899
linux-docker
check-wasm

00:02:39

 
  Workspace
passed #595900
linux-docker
build-std

00:02:23

passed #595901
linux-docker
build-wasm

00:02:53

passed #595904
linux-docker
clippy-std

00:01:46

passed #595914
linux-docker
clippy-wasm

00:02:11

passed #595903
linux-docker
codecov

00:03:08

passed #595906
linux-docker
fmt

00:00:46

passed #595902
linux-docker
test

00:02:35

passed #595913
linux-docker
clippy-wasm

00:00:48

failed #595905
linux-docker
clippy-wasm

00:00:38

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

00:01:16

passed #595910
linux-docker
examples-clippy-wasm

00:01:02

passed #595911
linux-docker
examples-contract-build

00:03:00

passed #595908
linux-docker
examples-fmt

00:00:19

passed #595912
linux-docker
examples-generate-metadata

00:01:34

passed #595907
linux-docker
examples-test

00:01:30