Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
creberust committed Feb 2, 2024
1 parent ed9aa22 commit bfc06df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/rtu-over-tcp-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ async fn client_context(socket_addr: SocketAddr) {
println!("CLIENT: Writing 2 holding registers...");
ctx.write_multiple_registers(0x01, &[7777, 8888])
.await
.unwrap()
.unwrap();

// Read back a block including the two registers we wrote.
Expand Down
1 change: 1 addition & 0 deletions examples/tcp-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ async fn client_context(socket_addr: SocketAddr) {
println!("CLIENT: Writing 2 holding registers...");
ctx.write_multiple_registers(0x01, &[7777, 8888])
.await
.unwrap()
.unwrap();

// Read back a block including the two registers we wrote.
Expand Down
1 change: 1 addition & 0 deletions examples/tls-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ async fn client_context(socket_addr: SocketAddr) {
println!("CLIENT: Writing 2 holding registers...");
ctx.write_multiple_registers(0x01, &[7777, 8888])
.await
.unwrap()
.unwrap();

// Read back a block including the two registers we wrote.
Expand Down

0 comments on commit bfc06df

Please sign in to comment.