From 9059a1aa389746eec6fc2277239ce0592e433c36 Mon Sep 17 00:00:00 2001 From: Damiano Ferrari <34270884+ferraridamiano@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:09:47 +0100 Subject: [PATCH] Update fibonacci exercise.rs (#1909) --- src/types-and-values/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types-and-values/exercise.rs b/src/types-and-values/exercise.rs index f11c57289d43..f09513f47b74 100644 --- a/src/types-and-values/exercise.rs +++ b/src/types-and-values/exercise.rs @@ -26,6 +26,6 @@ fn fib(n: u32) -> u32 { // ANCHOR: main fn main() { let n = 20; - println!("fib(n) = {}", fib(n)); + println!("fib({n}) = {}", fib(n)); } // ANCHOR_END: main