diff --git a/src/robot.rs b/src/robot.rs index 8d7654b..42e3adc 100644 --- a/src/robot.rs +++ b/src/robot.rs @@ -56,6 +56,7 @@ pub enum Orientation { } impl Distribution for Standard { + /// Generating random orientation. fn sample(&self, rng: &mut R) -> Orientation { match rng.gen_range(0, 3) { 0 => Orientation::N,