From 39beba16132020699cadd85d8b9a6f42ccf0067c Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Mon, 7 Mar 2022 12:16:31 +0100 Subject: [PATCH] typo --- src/basic-types/char-bool-unit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic-types/char-bool-unit.md b/src/basic-types/char-bool-unit.md index b91e09f..b66b585 100644 --- a/src/basic-types/char-bool-unit.md +++ b/src/basic-types/char-bool-unit.md @@ -75,12 +75,12 @@ fn main() { } fn implicitly_ret_unit() { - println!("I will returen a ()") + println!("I will return a ()") } // don't use this one fn explicitly_ret_unit() -> () { - println!("I will returen a ()") + println!("I will return a ()") } ``` @@ -97,4 +97,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