From 0153008c698a1e9ed93f7397a53d83ef17f5a3c2 Mon Sep 17 00:00:00 2001 From: davhojt Date: Sun, 22 May 2022 10:10:34 +0300 Subject: [PATCH] docs(fibonacci2): correct grammar --- subjects/fibonacci2/README.md | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/subjects/fibonacci2/README.md b/subjects/fibonacci2/README.md index e5c42739..7b5c258e 100644 --- a/subjects/fibonacci2/README.md +++ b/subjects/fibonacci2/README.md @@ -4,27 +4,15 @@ Complete the body of the **function** `fibonacci`. -This function receives a number `n` and returns the `n`th number in the fibonacci series. - -The Fibonacci Series starts like this: 0, 1, 1, 2, 3, 5, 8, 13 etc... - -### Recommendation - -Videos designed to give **hints** are assigned to each quest. It is strongly suggested to watch them as you go. - -### Notions - -- [Primitives](https://doc.rust-lang.org/stable/rust-by-example/primitives.html) -- [Functions](https://doc.rust-lang.org/stable/rust-by-example/fn.html) - -### Expected function - ```rust pub fn fibonacci(n: u32) -> u32 { - } ``` +This function receives a number `n` and returns the `n`th number in the fibonacci series. + +The Fibonacci Series starts like this: 0, 1, 1, 2, 3, 5, 8, 13 etc... + ### Usage Here is a possible test for your function: @@ -50,3 +38,8 @@ The element in the position 22 in fibonacci series is 17711 The element in the position 20 in fibonacci series is 6765 $ ``` + +### Notions + +- [Primitives](https://doc.rust-lang.org/stable/rust-by-example/primitives.html) +- [Functions](https://doc.rust-lang.org/stable/rust-by-example/fn.html)