mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-08-11 22:14:47 +00:00
add solution links for recently added chapters
This commit is contained in:
@@ -274,4 +274,6 @@ fn main() {
|
|||||||
let w = Pretty("hello".to_string());
|
let w = Pretty("hello".to_string());
|
||||||
println!("w = {}", w);
|
println!("w = {}", w);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> 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 :)
|
@@ -140,4 +140,6 @@ pub enum Assert<const CHECK: bool> {}
|
|||||||
pub trait IsTrue {}
|
pub trait IsTrue {}
|
||||||
|
|
||||||
impl IsTrue for Assert<true> {}
|
impl IsTrue for Assert<true> {}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> 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 :)
|
@@ -224,4 +224,6 @@ fn main() {
|
|||||||
|
|
||||||
println!("Success!")
|
println!("Success!")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> 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 :)
|
@@ -465,4 +465,6 @@ fn main() {
|
|||||||
|
|
||||||
println!("Success!")
|
println!("Success!")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> 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 :)
|
Reference in New Issue
Block a user