doc: fix Modules position in contents (#8722)
parent
99270c6935
commit
4ef3a21c8a
|
@ -91,10 +91,10 @@ For more details and troubleshooting, please visit the [vab GitHub repository](h
|
|||
* [Mutable arguments](#mutable-arguments)
|
||||
* [Anonymous & high order functions](#anonymous--high-order-functions)
|
||||
* [References](#references)
|
||||
* [Modules](#modules)
|
||||
* [Constants](#constants)
|
||||
* [Builtin functions](#builtin-functions)
|
||||
* [Printing custom types](#custom-print-of-types)
|
||||
* [Printing custom types](#printing-custom-types)
|
||||
* [Modules](#modules)
|
||||
* [Types 2](#types-2)
|
||||
* [Interfaces](#interfaces)
|
||||
* [Enums](#enums)
|
||||
|
@ -1876,7 +1876,9 @@ println([1, 2, 3]) // "[1, 2, 3]"
|
|||
println(User{ name: 'Bob', age: 20 }) // "User{name:'Bob', age:20}"
|
||||
```
|
||||
|
||||
## Custom print of types
|
||||
<a id='custom-print-of-types' />
|
||||
|
||||
## Printing custom types
|
||||
|
||||
If you want to define a custom print value for your type, simply define a
|
||||
`.str() string` method:
|
||||
|
|
Loading…
Reference in New Issue