Updating examples

This commit is contained in:
able 2021-04-11 15:17:08 -05:00
parent 6719d955e8
commit 5cf69e933d
2 changed files with 6 additions and 9 deletions

View file

@ -0,0 +1,6 @@
functio hello(words){
words print;
}
hello("wonk");

View file

@ -1,9 +0,0 @@
functio something(a: isize, c: isize, r: &mut isize) {
*r = a + c;
}
let a = 3;
let b = 4;
let mut r = 0;
something(a, b, &mut r);