Refactor(XmlProfileHandler): Remove Redundant Access Modifier
This commit is contained in:
@@ -3,7 +3,7 @@ use std::io;
|
||||
use connectivity::stubs::windows_wifi_profile;
|
||||
|
||||
pub(crate) struct NetworkXmlProfileHandler {
|
||||
pub(crate) content: String,
|
||||
pub content: String,
|
||||
}
|
||||
|
||||
impl NetworkXmlProfileHandler {
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
use std::io;
|
||||
mod connectivity;
|
||||
pub use connectivity::profile_network::ProfileNetwork as WiFi;
|
||||
|
||||
|
||||
fn main() -> Result<(), io::Error> {
|
||||
let mut wifi = WiFi::new("AndroidAPS")?;
|
||||
|
||||
println!("{}", wifi.connect("belm4235"));
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user