forked from luna/jorts
Merge branch 'master' of betseg/jorts into master
This commit is contained in:
commit
d12c913679
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import io
|
||||||
// takes a function that receives two ints, returns an int
|
// takes a function that receives two ints, returns an int
|
||||||
// Func is the function type keyword, to not switch it with fn (which declares
|
// Func is the function type keyword, to not switch it with fn (which declares
|
||||||
// a function)
|
// a function)
|
||||||
fn function_tester (Func function ([int, int] -> int)) -> int {
|
fn function_tester (Func func ([int, int] -> int)) -> int {
|
||||||
func(2, 2)
|
func(2, 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue