Skip to content

bindings: rust: fix clippy warnings

Erik Wierich linux-gpio 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250721-rust-clippy-df73580f6624

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bindings: rust: remove newline between attribute and attributebindings/rust/libgpiod-sys/src/lib.rs+0 -10 replies
2/2bindings: rust: simplify format statementsbindings/rust/libgpiod/examples/find_line_by_name.rs bindings/rust/libgpiod/examples/get_line_info.rs bindings/rust/libgpiod/examples/get_line_value.rs +4 more+9 -100 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh Kumar
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH libgpiod 0/2] bindings: rust: fix clippy warnings

This fixes warnings reported by clippy 0.1.88.

---
Erik Wierich (2):
bindings: rust: remove newline between attribute and attribute
bindings: rust: simplify format statements

 bindings/rust/libgpiod-sys/src/lib.rs                          | 1 -
 bindings/rust/libgpiod/examples/find_line_by_name.rs           | 2 +-
 bindings/rust/libgpiod/examples/get_line_info.rs               | 3 +--
 bindings/rust/libgpiod/examples/get_line_value.rs              | 2 +-
 bindings/rust/libgpiod/examples/get_multiple_line_values.rs    | 2 +-
 bindings/rust/libgpiod/examples/reconfigure_input_to_output.rs | 4 ++--
 bindings/rust/libgpiod/examples/toggle_line_value.rs           | 2 +-
 bindings/rust/libgpiod/src/lib.rs                              | 4 ++--
 8 files changed, 9 insertions(+), 11 deletions(-)

---
base-commit: e4427590d9d63a7104dd5df564dd6b7b0c784547
change-id: 20250721-rust-clippy-df73580f6624

Best regards,

Signature · 1 line
Erik Wierich <[email protected]>