diff options
Diffstat (limited to 'src/files.rs')
-rw-r--r-- | src/files.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs index 99dca8c..7f3daed 100644 --- a/src/files.rs +++ b/src/files.rs @@ -5,9 +5,10 @@ use std::path::PathBuf; use actions::*; +const STATE_FILE: &'static str = "state.json"; + const COMMAND_FILE: &'static str = "command.txt"; const PLACE_FILE: &'static str = "place.txt"; -const STATE_FILE: &'static str = "state.json"; pub fn read_file(working_dir: &PathBuf) -> Result<json::JsonValue, String> { let state_path = working_dir.join(STATE_FILE); |