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
|
**/*.rs.bk
|
||||||
/.idea
|
/.idea
|
||||||
config.json
|
config.json
|
||||||
/.vscode/
|
/.vscode/
|
||||||
|
Cargo.lock
|
@ -39,6 +39,7 @@ impl Configuration {
|
|||||||
);
|
);
|
||||||
|
|
||||||
let response = request::get_request(&request);
|
let response = request::get_request(&request);
|
||||||
|
|
||||||
match response {
|
match response {
|
||||||
Ok(res) => {
|
Ok(res) => {
|
||||||
let document = Document::from_read(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!");
|
let config: Configuration = serde_json::from_str(&data).expect("Couldn't parse JSON!");
|
||||||
|
|
||||||
config
|
config
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user