Removed unneeded variable
This commit is contained in:
parent
400c8c20c3
commit
01d309fd78
@ -15,7 +15,7 @@ impl fmt::Display for Config {
|
|||||||
impl Config {
|
impl Config {
|
||||||
pub fn from_file(file_path: String) -> Config {
|
pub fn from_file(file_path: String) -> Config {
|
||||||
let mut config = Ini::new();
|
let mut config = Ini::new();
|
||||||
let _map = config.load(file_path).unwrap();
|
config.load(file_path).unwrap();
|
||||||
|
|
||||||
let subdomains = config.get("General", "subdomains").unwrap();
|
let subdomains = config.get("General", "subdomains").unwrap();
|
||||||
let mut subvec: Vec<String> = vec![];
|
let mut subvec: Vec<String> = vec![];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user