string: fix replace_each edge case error message
							parent
							
								
									0f2f97e3e5
								
							
						
					
					
						commit
						7b39ab6d06
					
				|  | @ -223,7 +223,7 @@ pub fn (s string) replace_each(vals []string) string { | |||
| 		return s | ||||
| 	} | ||||
| 	if vals.len % 2 != 0 { | ||||
| 		println('string.replace_many(): odd number of strings') | ||||
| 		println('string.replace_each(): odd number of strings') | ||||
| 		return s | ||||
| 	} | ||||
| 	// `rep` - string to replace
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue