Skip to content

Commit

Permalink
uhm oops, remove useless ! operator
Browse files Browse the repository at this point in the history
  • Loading branch information
adryzz committed Oct 28, 2023
1 parent 1bc8bdc commit 586dfc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctru-rs/examples/wifi-info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn print_network_info(ac: &Ac) -> ctru::Result<()> {
println!("Wi-Fi security: {:?}", ac.get_wifi_security()?);
let proxied = ac.get_proxy_enabled()?;
println!("Proxy enabled: {}", proxied);
if !proxied {
if proxied {
println!("Proxy port: {}", ac.get_proxy_port()?);
println!("Proxy username: {}", ac.get_proxy_username()?);
println!("Proxy password: {}", ac.get_proxy_password()?);
Expand Down

0 comments on commit 586dfc1

Please sign in to comment.