add documentation

This commit is contained in:
Martin HART 2020-11-07 16:24:44 +01:00
parent 7890612825
commit 3e1853e4af
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ fn create_hash_map(pool: &Vec<robot::Robot>, hash: &mut HashMap<robot::Position,
}
}
/// Generate random instructions.
fn gen_random_instructions() -> String {
let mut rng = rand::thread_rng();
let n = rng.gen_range(5, 10);