Merge branch 'fix-piouff' into 'master'
fix piouff shit See merge request mhart/DancingDroids!64
This commit is contained in:
		
						commit
						ef4b6c0bbd
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user