From 7883e5da873c4e71d7e750d61cab5e55f09818af Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Tue, 16 May 2023 10:36:30 +0100 Subject: [PATCH] docs(count_factorial_steps): fix given prototype in subject --- subjects/count_factorial_steps/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/count_factorial_steps/README.md b/subjects/count_factorial_steps/README.md index 6ba25d1a..c1ba27c1 100644 --- a/subjects/count_factorial_steps/README.md +++ b/subjects/count_factorial_steps/README.md @@ -7,7 +7,7 @@ Create a **function** named `count_factorial_steps` that receives a factorial nu If the argument is not a factorial, or it is equal 0 or 1, then the function should return 0. ```rust -fn count_factorial_steps(factorial: u64) -> u64 { +pub fn count_factorial_steps(factorial: u64) -> u64 { } ```