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('<') | 		x := name.trim_suffix('>').split('<') | ||||||
| 		if x.len == 2 { | 		if x.len == 2 { | ||||||
| 			main := f.short_module(x[0]) | 			main := f.short_module(x[0]) | ||||||
| 			genlist := x[1].split(',').map(f.short_module(it)).join(',') | 			genlist := x[1].split(',') | ||||||
| 			res := '$main<${genlist}>' | 			genshorts := genlist.map(f.short_module(it)).join(',') | ||||||
| 			return res | 			return '$main<$genshorts>' | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	vals := name.split('.') | 	vals := name.split('.') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue