diff options
author | Marcel Ribeiro-Dantas <ribeirodantasdm@gmail.com> | 2023-03-25 22:34:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 22:34:56 -0300 |
commit | e7c25112de210738bb9c342b1559db151b2d5459 (patch) | |
tree | d5d4f499f5513345ddca501e7cac7136a7c3cd35 | |
parent | 6ac5983d5abe502ef98ae49e9a4b40de21f3dc73 (diff) | |
parent | 07ffb8314f260ddabe8a7f01278f01df098c28c6 (diff) |
Merge pull request #4628 from jamesbvaughan/james/fib-output
[rust/en] Add fibonacci example output comment
-rw-r--r-- | rust.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust.html.markdown b/rust.html.markdown index 9e07e005..c677ed96 100644 --- a/rust.html.markdown +++ b/rust.html.markdown @@ -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 // |