Fix use declaration typo in README code example
This commit is contained in:
@@ -25,7 +25,7 @@ Note that only **open**, **WEP** and **WPA-PSK** networks are supported at the m
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
```Rust
|
```Rust
|
||||||
use wifi_rs::{prelude::*, Wifi};
|
use wifi_rs::{prelude::*, WiFi};
|
||||||
|
|
||||||
fn main() -> Result<(), WifiConnectionError> {
|
fn main() -> Result<(), WifiConnectionError> {
|
||||||
let config = Some(Config {
|
let config = Some(Config {
|
||||||
|
|||||||
Reference in New Issue
Block a user