rust: use const fn calls where possible

16 jobs for const-fn-usage in 16 minutes and 56 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Prepare
passed #4660490
linux rust docker ghostflow
prepare:cargo-cache-newest

00:01:05

passed #4660491
linux rust docker ghostflow
prepare:git

00:05:44

 
  Build
passed #4660492
linux rust docker ghostflow
build:cargo-clippy

00:03:26

passed #4660493
linux rust docker ghostflow
build:cargo-clippy-features

00:02:51

passed #4660494
linux rust docker ghostflow
build:cargo-minimum

00:06:59

passed #4660497
linux rust docker ghostflow
build:cargo-minimum-features

00:04:24

passed #4660496
linux rust docker ghostflow
build:cargo-nightly

00:10:19

passed #4660495
linux rust docker ghostflow
build:cargo-stable

00:03:39

passed #4660498
linux rust docker ghostflow
build:cargo-stable-features

00:05:57

 
  Test
passed #4660499
linux rust docker ghostflow
test:cargo-minimum

00:01:44

passed #4660502
linux rust docker ghostflow
test:cargo-minimum-features

00:01:30

passed #4660501
linux rust docker ghostflow
test:cargo-nightly

00:02:02

passed #4660500
linux rust docker ghostflow
test:cargo-stable

00:01:23

passed #4660503
linux rust docker ghostflow
test:cargo-stable-features

00:01:33

passed #4660504
linux rust docker ghostflow
test:git-master

00:01:39

 
  External
passed ghostflow-check-master