fix piouff shit
This commit is contained in:
		
							parent
							
								
									971bfb615f
								
							
						
					
					
						commit
						790789f940
					
				@ -88,10 +88,7 @@ pub fn is_instructions(v: &Vec<char>) -> bool {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/// Check if a robot is piouff.
 | 
					/// Check if a robot is piouff.
 | 
				
			||||||
pub fn is_piouff(r: &Robot) -> bool {
 | 
					pub fn is_piouff(r: &Robot) -> bool {
 | 
				
			||||||
    if r.i.len() == 0 {
 | 
					    r.i.len() == 0
 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    false
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// Print robots id, position and instructions.
 | 
					/// Print robots id, position and instructions.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user