11 lines
116 B
Plaintext
11 lines
116 B
Plaintext
|
fn foo() ?bool {
|
||
|
return true
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
foo()? // only works in main()
|
||
|
println('done')
|
||
|
}
|
||
|
===output===
|
||
|
done
|