// -*- rust -*-fnfib(intn)->int{// Several of the posted 'benchmark' versions of this compute the// wrong Fibonacci numbers, of course.if(n==0){ret0;}else{if(n<=2){ret1;}else{retfib(n-1)+fib(n-2);}}}fnmain(){assert(fib(8)==21);assert(fib(15)==610);logfib(8);logfib(15);}