little correction

This commit is contained in:
Jakub Doka 2024-11-03 10:23:17 +01:00
parent 9de631234d
commit 798000c756
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -467,8 +467,7 @@ main := fn(): uint {
```hb
main := fn(): never {
// simply emmits 'un' instruction that immediately terminates the execution
// the expression evaluates into `never` type that can coerce into any other
// type
// the expresion has similar properties to 'return' but does not accept a value
die
}
```