Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/src/basic-types/char-bool-unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
> 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
2 changes: 1 addition & 1 deletion en/src/basic-types/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/basic-types/functions.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/basic-types/functions.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/basic-types/numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/basic-types/numbers.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/basic-types/numbers.md) (under the solutions path), but only use it when you need it
4 changes: 2 additions & 2 deletions en/src/basic-types/statements-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ fn main() {
}

fn sum(x: i32, y: i32) -> i32 {
x + y
x + y;
}
```

> 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
> 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
2 changes: 1 addition & 1 deletion en/src/collections/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ fn main() {
### Common methods
More exercises of String methods can be found [here](../std/String.md).

> 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
> 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
2 changes: 1 addition & 1 deletion en/src/compound-types/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ fn main() {

```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/array.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/array.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/compound-types/enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/enum.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/enum.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/compound-types/slice.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ fn first_letter(s: &str) -> &str {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/slice.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/slice.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/compound-types/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/string.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/string.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/compound-types/struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/struct.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/struct.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/compound-types/tuple.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ fn sum_multiply(nums: (i32, i32)) -> (i32, i32) {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/tuple.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/compound-types/tuple.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/fight-compiler/borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ impl test {

fn main() {}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/fight-compiler/borrowing.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/fight-compiler/borrowing.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/flow-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,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
> 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
2 changes: 1 addition & 1 deletion en/src/formatted-output/debug-display.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ fn main() {
```


> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/debug-display.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/debug-display.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/formatted-output/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/formatting.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/formatting.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/formatted-output/println.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/println.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/formatted-output/println.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/functional-programing/closure.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,4 +433,4 @@ fn call_with_different_values() {
assert_eq!(v2, 1);
}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/functional-programing/closure.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/functional-programing/closure.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/functional-programing/iterator.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/functional-programing/iterator.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/functional-programing/iterator.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/generics-traits/advanced-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,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 :)
> 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 :)
2 changes: 1 addition & 1 deletion en/src/generics-traits/const-generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ pub trait IsTrue {}
impl IsTrue for Assert<true> {}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/const-generics.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/const-generics.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/generics-traits/generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/generics.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/generics.md) (under the solutions path), but only use it when you need it

2 changes: 1 addition & 1 deletion en/src/generics-traits/trait-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/trait-object.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/trait-object.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/generics-traits/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,4 +469,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/generics-traits/traits.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/lifetime/advance.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ fn use_list(list: &List) {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/advance.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/advance.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/lifetime/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,4 +356,4 @@ enum Either<'a> {

fn main() {}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/basic.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/basic.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/lifetime/static.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ fn print_g(t: &'static String) {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/static.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/lifetime/static.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/method.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,4 @@ fn main() {
@todo


> 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
> 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
2 changes: 1 addition & 1 deletion en/src/ownership/borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/ownership/borrowing.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/ownership/borrowing.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/ownership/ownership.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ fn main() {
```


> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/ownership/ownership.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/ownership/ownership.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/pattern-match/match-iflet.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@ fn main() {
```


> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/match.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/match.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/pattern-match/patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/patterns.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/pattern-match/patterns.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/result-panic/panic.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ panic = 'abort'
```


> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/result-panic/panic.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/result-panic/panic.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/result-panic/result.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ fn main() -> Result<(), ParseIntError> {
Ok(())
}
```
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/result-panic/result.md)(under the solutions path), but only use it when you need it :)
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/result-panic/result.md) (under the solutions path), but only use it when you need it :)
2 changes: 1 addition & 1 deletion en/src/smart-pointers/box.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,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
> 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
2 changes: 1 addition & 1 deletion en/src/type-conversions/as.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/as.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/as.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/type-conversions/from-into.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/from-into.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/from-into.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/type-conversions/others.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ fn main() {
}
```

> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/others.md)(under the solutions path), but only use it when you need it
> You can find the solutions [here](https://github.com/sunface/rust-by-practice/blob/master/solutions/type-conversions/others.md) (under the solutions path), but only use it when you need it
2 changes: 1 addition & 1 deletion en/src/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,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
> 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