vfmt: small cleanup
							parent
							
								
									8197463b08
								
							
						
					
					
						commit
						e6cc967ac8
					
				|  | @ -1276,9 +1276,9 @@ pub fn (mut f Fmt) short_module(name string) string { | |||
| 		x := name.trim_suffix('>').split('<') | ||||
| 		if x.len == 2 { | ||||
| 			main := f.short_module(x[0]) | ||||
| 			genlist := x[1].split(',').map(f.short_module(it)).join(',') | ||||
| 			res := '$main<${genlist}>' | ||||
| 			return res | ||||
| 			genlist := x[1].split(',') | ||||
| 			genshorts := genlist.map(f.short_module(it)).join(',') | ||||
| 			return '$main<$genshorts>' | ||||
| 		} | ||||
| 	} | ||||
| 	vals := name.split('.') | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue