added whitespace, added file to .gitignore
This commit is contained in:
parent
4c5e868416
commit
ddef9484cc
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@
|
||||
**/*.rs.bk
|
||||
/.idea
|
||||
config.json
|
||||
/.vscode/
|
||||
/.vscode/
|
||||
Cargo.lock
|
@ -39,6 +39,7 @@ impl Configuration {
|
||||
);
|
||||
|
||||
let response = request::get_request(&request);
|
||||
|
||||
match response {
|
||||
Ok(res) => {
|
||||
let document = Document::from_read(res)
|
||||
@ -85,4 +86,4 @@ pub fn init_config() -> Configuration {
|
||||
let config: Configuration = serde_json::from_str(&data).expect("Couldn't parse JSON!");
|
||||
|
||||
config
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user