add documentation
This commit is contained in:
parent
7890612825
commit
3e1853e4af
@ -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 {
|
fn gen_random_instructions() -> String {
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
let n = rng.gen_range(5, 10);
|
let n = rng.gen_range(5, 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user