diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-06-03 17:22:22 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-06-03 17:22:22 +0200 |
commit | 34c87bf04a9b70809eda125ca180de1d993d410e (patch) | |
tree | 805bf7556868f4958a73dd50b0a7996f98c54177 /src/main.rs | |
parent | 9d7d406107998c87525852032495f33f37155294 (diff) |
Moved json parsing to be part of a module, with textmap equivalence
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 651df35..e84e207 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,7 +32,7 @@ fn main() { let start_time = PreciseTime::now(); println!("Reading in state.json file"); - let (settings, state) = match json::read_state_from_file(STATE_PATH) { + let (settings, state) = match input::json::read_state_from_file(STATE_PATH) { Ok(ok) => ok, Err(error) => { println!("Error while parsing JSON file: {}", error); |