Skip to content

Commit

Permalink
Resolve clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed Jan 30, 2022
1 parent 0924fbe commit a3abfce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions n3ds-controller-client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use ctru::{
Gfx,
};
use std::io::Write;
use std::net::{Ipv4Addr, TcpListener, TcpStream};
use std::net::{Ipv4Addr, TcpStream};
use std::str::FromStr;
use std::time::Duration;

Expand All @@ -16,7 +16,7 @@ fn main() {
gfx.top_screen.borrow_mut().set_wide_mode(true);
let hid = Hid::init().expect("Couldn't obtain HID controller");
let apt = Apt::init().expect("Couldn't obtain APT controller");
let soc = Soc::init().expect("Couldn't initialize networking");
let _soc = Soc::init().expect("Couldn't initialize networking");
let _console = Console::init(gfx.top_screen.borrow_mut());

println!("Enter the n3ds-controller server IP");
Expand Down
2 changes: 1 addition & 1 deletion n3ds-controller-server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::io::{BufRead, BufReader, Read};
use std::io::{BufRead, BufReader};
use std::net::TcpListener;

fn main() {
Expand Down

0 comments on commit a3abfce

Please sign in to comment.