Add fibonacci output comment

This commit is contained in:
James Vaughan 2023-03-24 23:21:11 -07:00
parent 6ac5983d5a
commit 07ffb8314f
No known key found for this signature in database

View File

@ -223,7 +223,7 @@ fn main() {
type FunctionPointer = fn(u32) -> u32;
let fib : FunctionPointer = fibonacci;
println!("Fib: {}", fib(4));
println!("Fib: {}", fib(4)); // 5
/////////////////////////
// 3. Pattern matching //