bindings: rust: clippy: silence false-positive on iterator
authorErik Schilling <erik.schilling@linaro.org>
Fri, 30 Jun 2023 11:18:47 +0000 (13:18 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 30 Jun 2023 12:10:30 +0000 (14:10 +0200)
commit4b8357b36886dcada5fbe6263ab44fc006a06e05
tree20877c4478f8d1644ac6c371e506d5cbabfaa7fb
parent39189f0bf59cc56a02260dd32ad4b331ce73acce
bindings: rust: clippy: silence false-positive on iterator

This was fixed on clippy master [1], but it is still broken on 0.1.70. So
lets silence it until the clippy fix is widely available.

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

[1] https://github.com/rust-lang/rust-clippy/commit/9fa40894103e32364fdbade539d4ecb3d40f3d7f

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/event_buffer.rs