Skip to content

Commit

Permalink
Fix clippy lint in local-networking example
Browse files Browse the repository at this point in the history
  • Loading branch information
Meziu committed Aug 15, 2024
1 parent 2ec9a40 commit a71c0c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctru-rs/examples/local-networking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ fn main() -> Result<(), Error> {

let mut mode = ConnectionType::Client;

let mut channel = 0;
let data_channel = 1;
let mut channel: u8;
let data_channel: u8 = 1;

let mut prev_node_mask = 0;

Expand Down

0 comments on commit a71c0c1

Please sign in to comment.