692670da4007b66d59eba74f5c5a8b31306a5224
Misc/Moelang.md
| ... | ... | @@ -57,6 +57,6 @@ end |
| 57 | 57 | # Type casting |
| 58 | 58 | You put type and then the value to be cast: |
| 59 | 59 | ``` |
| 60 | -Complex {re=1.0, im=2.0} // cast anonymous struct to Complex |
|
| 60 | +Complex { re=1.0, im=2.0 } // cast anonymous struct to Complex |
|
| 61 | 61 | Float 3 // cast integer 3 to Float |
| 62 | 62 | ``` |
| ... | ... | \ No newline at end of file |