more literal type casting

This commit is contained in:
Robin Appelman 2019-04-05 20:03:49 +02:00
commit 938558c87a
2 changed files with 66 additions and 3 deletions

View file

@ -12,8 +12,8 @@ fn hello_world() {
}
#[ivory_export]
fn add1(input: i64) -> i64 {
input + 1
fn is_positive(input: i64) -> bool {
input >= 0
}
#[ivory_export]