diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2017-05-14 17:10:26 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2017-05-14 17:10:26 +0200 |
commit | 25a551316e27f4cc52c160d099db9cc3673b3421 (patch) | |
tree | ac36584ec047dfefe54fcc56bb189a05c02b98f5 /src/lib.rs | |
parent | 05ccf5572b39fe254c7b0464cc78a1b623f732c7 (diff) |
Added documentation of json state types
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ use std::path::PathBuf; pub fn write_move(working_dir: PathBuf) -> Result<(), String> { let state_json = read_file(&working_dir)?; - println!("{}", state_json); + println!("\n\n{}\n\n", state_json.pretty(2)); let is_place_phase = state_json["Phase"] == 1; let map_size = State::map_size_from_json(&state_json)?; |