From 2b7cb61388dc757917855c3293c23669d0def536 Mon Sep 17 00:00:00 2001 From: Sunface Date: Sat, 5 Mar 2022 08:44:09 +0800 Subject: [PATCH 1/7] Update Readme.md --- Readme.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index ea50090..5642d4c 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,12 @@ This book was designed for easily diving into Rust,and it's very easy to use: All you need to do is to make each exercise compile without ERRORS and Panics ! -> 🎊 Updated on 2022-03-05: Add [Traits chapter](https://practice.rs/generics-traits/traits.html) and solutions +> 🎊 Updated on 2022-03-05: Add [Traits](https://practice.rs/generics-traits/traits.html) + +## Read online + +- [English](https://practice.rs) +- [Chinsese](https://zh.practice.rs) ## Features @@ -15,11 +20,11 @@ This book was designed for easily diving into Rust,and it's very easy to use: - Solution for each exercise - Difficulty from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 - -- Both [English](https://practice.rs) and [Chinsese](https://zh.practice.rs) are supported -> Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for the great works you have been done! +> Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! +> +> BTW, we also has our own secret weapons :) ## Some of our exercises From afbad2c2d6f65b0606d843ccd83a22a64f2f1566 Mon Sep 17 00:00:00 2001 From: Sunface Date: Sat, 5 Mar 2022 08:45:28 +0800 Subject: [PATCH 2/7] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 5642d4c..2e1d457 100644 --- a/Readme.md +++ b/Readme.md @@ -24,7 +24,7 @@ This book was designed for easily diving into Rust,and it's very easy to use: > Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! > -> BTW, we also has our own secret weapons :) +> Although they are so awesome, we also has our own secret weapons :) ## Some of our exercises From beb62b1e12857f575329143314138757281cdd4c Mon Sep 17 00:00:00 2001 From: Sunface Date: Sat, 5 Mar 2022 08:54:05 +0800 Subject: [PATCH 3/7] Update Readme.md --- Readme.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/Readme.md b/Readme.md index 2e1d457..243ba19 100644 --- a/Readme.md +++ b/Readme.md @@ -6,25 +6,24 @@ This book was designed for easily diving into Rust,and it's very easy to use: ## Read online -- [English](https://practice.rs) -- [Chinsese](https://zh.practice.rs) +- [https://practice.rs](https://practice.rs) ## Features +Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! + +Although they are so awesome, we also has our own secret weapons :) -- Read, Edit and Run the exercise ONLINE - - There are three parts in each chapter: examples, exercises and practices - -- Covering nearly all aspects of Rust, such as **async/await, threads, sync primitives, optimizing and stand libraries** etc - -- Solution for each exercise - -- Difficulty from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 +- Besides examples, we have `a lot of exercises`, you can Read, Edit and Run them ONLINE + +- Covering nearly all aspects of Rust, such as async/await, threads, sync primitives, optimizing and stand libraries** etc + +- Every exercise has its own solutions + +- The difficulty is higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 -> Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! -> -> Although they are so awesome, we also has our own secret weapons :) +**What we want to do is fill in the gap between learning and getting started with real projects.** ## Some of our exercises From 4233560526acd179634b3bc1cb4334e83fa4c8d7 Mon Sep 17 00:00:00 2001 From: Sunface Date: Sat, 5 Mar 2022 09:10:26 +0800 Subject: [PATCH 4/7] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 243ba19..c4c8046 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ Although they are so awesome, we also has our own secret weapons :) - Every exercise has its own solutions -- The difficulty is higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 +- The overall difficulties are a bit higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 **What we want to do is fill in the gap between learning and getting started with real projects.** From 0bf7ba3f0f91c1706a093b4ab6ac43e26e5a13ad Mon Sep 17 00:00:00 2001 From: Joseph T Lyons Date: Fri, 4 Mar 2022 22:10:02 -0500 Subject: [PATCH 5/7] Fix some typos and formatting in readme --- Readme.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Readme.md b/Readme.md index c4c8046..9cbe8bc 100644 --- a/Readme.md +++ b/Readme.md @@ -1,27 +1,27 @@ # Rust By Practice -This book was designed for easily diving into Rust,and it's very easy to use: All you need to do is to make each exercise compile without ERRORS and Panics ! +This book was designed for easily diving into Rust, and it's very easy to use: All you need to do is to make each exercise compile without ERRORS and Panics ! > 🎊 Updated on 2022-03-05: Add [Traits](https://practice.rs/generics-traits/traits.html) ## Read online -- [https://practice.rs](https://practice.rs) +- [https://practice.rs](https://practice.rs) ## Features -Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! +Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! -Although they are so awesome, we also has our own secret weapons :) +Although they are so awesome, we have our own secret weapons :) - There are three parts in each chapter: examples, exercises and practices - Besides examples, we have `a lot of exercises`, you can Read, Edit and Run them ONLINE - -- Covering nearly all aspects of Rust, such as async/await, threads, sync primitives, optimizing and stand libraries** etc - + +- Covering nearly all aspects of Rust, such as async/await, threads, sync primitives, optimizing and standard libraries** etc. + - Every exercise has its own solutions - -- The overall difficulties are a bit higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 + +- The overall difficulties are a bit higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 **What we want to do is fill in the gap between learning and getting started with real projects.** @@ -37,7 +37,7 @@ struct Point(i32, i32, i32); fn main() { let v = Point(___, ___, ___); check_color(v); -} +} fn check_color(p: Color) { let (x, _, _) = p; @@ -66,7 +66,7 @@ fn main() { // ONLY modify this line println!("{}, {}, {:?}",f.name, f.data, f); -} +} ``` 🌟🌟 A match guard is an additional if condition specified after the pattern in a match arm that must also match, along with the pattern matching, for that arm to be chosen. From 701ee53daa93dc9e1011ce9e5a09ce2b1ec025eb Mon Sep 17 00:00:00 2001 From: Joseph T Lyons Date: Fri, 4 Mar 2022 22:11:28 -0500 Subject: [PATCH 6/7] Add newline after header --- Readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Readme.md b/Readme.md index 9cbe8bc..1eed4f1 100644 --- a/Readme.md +++ b/Readme.md @@ -9,6 +9,7 @@ This book was designed for easily diving into Rust, and it's very easy to use: A - [https://practice.rs](https://practice.rs) ## Features + Part of our examples and exercises are borrowed from [Rust By Example](https://github.com/rust-lang/rust-by-example), thanks for your great works! Although they are so awesome, we have our own secret weapons :) From 2f9f49df848d7624915029858c207d058e87da47 Mon Sep 17 00:00:00 2001 From: Sunface Date: Sat, 5 Mar 2022 14:17:17 +0800 Subject: [PATCH 7/7] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 1eed4f1..72ef9b0 100644 --- a/Readme.md +++ b/Readme.md @@ -22,7 +22,7 @@ Although they are so awesome, we have our own secret weapons :) - Every exercise has its own solutions -- The overall difficulties are a bit higher, distributed from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 +- The overall difficulties are a bit higher and from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 **What we want to do is fill in the gap between learning and getting started with real projects.**