From d54b651287ed7db4ca49eecc16d95524c11a2c3d Mon Sep 17 00:00:00 2001 From: Tal-Chaim <42787674+Tal-Chaim@users.noreply.github.com> Date: Sat, 8 Oct 2022 22:39:44 +0300 Subject: [PATCH] Fixed wrong print. --- en/src/pattern-match/patterns.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/src/pattern-match/patterns.md b/en/src/pattern-match/patterns.md index 35b0813..71877b1 100644 --- a/en/src/pattern-match/patterns.md +++ b/en/src/pattern-match/patterns.md @@ -15,7 +15,7 @@ fn match_number(n: i32) { println!("match 6 -> 10") }, _ => { - println!("match 11 -> +infinite") + println!("match -infinite -> 0 or 11 -> +infinite") } } } @@ -116,4 +116,4 @@ fn main() { } ```` -> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it \ No newline at end of file +> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it