From 2a8e0143290bb22b48e414efd6fceddbc978658f Mon Sep 17 00:00:00 2001 From: sunface Date: Sun, 6 Mar 2022 09:36:31 +0800 Subject: [PATCH] add solution links for recently added chapters --- src/generics-traits/advanced-traits.md | 4 +++- src/generics-traits/const-generics.md | 4 +++- src/generics-traits/trait-object.md | 4 +++- src/generics-traits/traits.md | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/generics-traits/advanced-traits.md b/src/generics-traits/advanced-traits.md index c597953..1fcccbe 100644 --- a/src/generics-traits/advanced-traits.md +++ b/src/generics-traits/advanced-traits.md @@ -274,4 +274,6 @@ fn main() { let w = Pretty("hello".to_string()); println!("w = {}", w); } -``` \ 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 :) \ No newline at end of file diff --git a/src/generics-traits/const-generics.md b/src/generics-traits/const-generics.md index 90605ee..3da51a3 100644 --- a/src/generics-traits/const-generics.md +++ b/src/generics-traits/const-generics.md @@ -140,4 +140,6 @@ pub enum Assert {} pub trait IsTrue {} impl IsTrue for Assert {} -``` \ 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 :) \ No newline at end of file diff --git a/src/generics-traits/trait-object.md b/src/generics-traits/trait-object.md index 72a27da..411b49a 100644 --- a/src/generics-traits/trait-object.md +++ b/src/generics-traits/trait-object.md @@ -224,4 +224,6 @@ fn main() { println!("Success!") } -``` \ 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 :) \ No newline at end of file diff --git a/src/generics-traits/traits.md b/src/generics-traits/traits.md index c0b1e9c..b32aa9e 100644 --- a/src/generics-traits/traits.md +++ b/src/generics-traits/traits.md @@ -465,4 +465,6 @@ fn main() { println!("Success!") } -``` \ 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 :) \ No newline at end of file