rust: fix cargo clippy
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 7 Mar 2021 21:10:11 +0000 (01:10 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sun, 7 Mar 2021 21:10:33 +0000 (01:10 +0400)
commit320f92c36a80bfafc5d57834592a7be5fd79f104
tree8ec159ed36aa9f91aa91e215e2497a041ec3b99b
parente62d42f0fd76f7bb8bf78385a83c060e66ff52b0
rust: fix cargo clippy

Fix clippy error about missing main().

Fix various clippy warnings "help: consider removing `'static`: `&str`"

Run clippy with the rust test.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/rust
tests/rust-test/src/main.rs
tools/keymap-gen