bindings: rust: clippy: silence false-positives on casts
authorErik Schilling <erik.schilling@linaro.org>
Fri, 30 Jun 2023 11:18:45 +0000 (13:18 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 30 Jun 2023 12:10:24 +0000 (14:10 +0200)
commit46115fddd7cbf96aa803c0622c69e22974cead44
treea94facfc85253613d30251e77e10a795c216945f
parent901104ec2fa5f4c60f157ccb236a9b967fa7fa6b
bindings: rust: clippy: silence false-positives on casts

clippy falsely complains about these lines. The problem is known, but
unfixed [1]. So lets silence the warning until a fix is widely available.

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

[1] https://github.com/rust-lang/rust-clippy/issues/10555

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/libgpiod/src/line_info.rs
bindings/rust/libgpiod/src/line_settings.rs