Improve source code using clippy.

1 job for master in 2 minutes and 48 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #317544
build

00:02:48