fix piouff shit

This commit is contained in:
Martin HART 2020-11-08 15:21:11 +01:00
parent 971bfb615f
commit 790789f940

View File

@ -88,10 +88,7 @@ pub fn is_instructions(v: &Vec<char>) -> bool {
/// Check if a robot is piouff.
pub fn is_piouff(r: &Robot) -> bool {
if r.i.len() == 0 {
return true;
}
false
r.i.len() == 0
}
/// Print robots id, position and instructions.