7f7eb7c0a8
Every good programming exercise book should include the fibonacci numbers! One possible solution: (0..i).fold((0, 1), |(a, b), _| (b, a + b)).1 Signed-off-by: Corin Lawson <corin@responsight.com> |
||
---|---|---|
.. | ||
error_handling | ||
functions | ||
if | ||
macros | ||
modules | ||
move_semantics | ||
primitive_types | ||
standard_library_types | ||
strings | ||
structs | ||
tests | ||
threads | ||
variables | ||
test1.rs | ||
test2.rs | ||
test3.rs | ||
test4.rs |