string: remove abs()
							parent
							
								
									ef2ab31e88
								
							
						
					
					
						commit
						bc563930f7
					
				| 
						 | 
					@ -724,13 +724,6 @@ fn (u ustring) free() {
 | 
				
			||||||
	u.runes.free()
 | 
						u.runes.free()
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
fn abs(a int) int {
 | 
					 | 
				
			||||||
	if a >= 0 {
 | 
					 | 
				
			||||||
		return a
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	return -a
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
pub fn (c byte) is_digit() bool {
 | 
					pub fn (c byte) is_digit() bool {
 | 
				
			||||||
	return c >= `0` && c <= `9`
 | 
						return c >= `0` && c <= `9`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue