bindings: rust: clippy: drop unneeded conversions
authorErik Schilling <erik.schilling@linaro.org>
Fri, 30 Jun 2023 11:18:46 +0000 (13:18 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 30 Jun 2023 12:10:27 +0000 (14:10 +0200)
commit39189f0bf59cc56a02260dd32ad4b331ce73acce
tree8349b9bd0acf2353274c44f86576a188617c1deb
parent46115fddd7cbf96aa803c0622c69e22974cead44
bindings: rust: clippy: drop unneeded conversions

Fixes clippy warnings on these lines.

Applied the suggested fix using:

    cargo clippy --fix

clippy version: clippy 0.1.70 (90c5418 2023-05-31).

Reported-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20230612154055.56556-1-warthog618@gmail.com
Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/rust/gpiosim-sys/src/sim.rs
bindings/rust/libgpiod/src/event_buffer.rs