mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-10-22 00:00:03 +03:00
Compare commits
6 commits
2f8fa469ac
...
ff3e6c05a5
Author | SHA1 | Date | |
---|---|---|---|
ff3e6c05a5 | |||
33dfe5331a | |||
888ad35d10 | |||
fa452b3a93 | |||
18a9a2e791 | |||
2dcf917fa1 |
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,5 +1,6 @@
|
||||||
<a name="6.0.0"></a>
|
<a name="6.0.0"></a>
|
||||||
## 6.0.0 (2024-07-02)
|
|
||||||
|
## 6.0.0 (2024-07-03)
|
||||||
|
|
||||||
This release is the result of a complete rewrite to deliver a ton of new features and improvements ✨
|
This release is the result of a complete rewrite to deliver a ton of new features and improvements ✨
|
||||||
The most important changes are highlighted below.
|
The most important changes are highlighted below.
|
||||||
|
@ -27,7 +28,7 @@ You can read about the motivations of this change in [this issue](https://github
|
||||||
|
|
||||||
### List mode
|
### List mode
|
||||||
|
|
||||||
A list mode was added using [`Ratatui`](https://ratatui.rs).
|
A list mode was added using [Ratatui](https://ratatui.rs).
|
||||||
You can enter it by entering `l` in the watch mode.
|
You can enter it by entering `l` in the watch mode.
|
||||||
It offers the following features:
|
It offers the following features:
|
||||||
|
|
||||||
|
@ -65,6 +66,7 @@ Or do you want to translate the original Rustlings exercises?
|
||||||
Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXERCISES.md)!
|
Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXERCISES.md)!
|
||||||
|
|
||||||
<a name="5.6.1"></a>
|
<a name="5.6.1"></a>
|
||||||
|
|
||||||
## 5.6.1 (2023-09-18)
|
## 5.6.1 (2023-09-18)
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
@ -81,6 +83,7 @@ Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXER
|
||||||
- `enums3`: Fixed formatting with `rustfmt`.
|
- `enums3`: Fixed formatting with `rustfmt`.
|
||||||
|
|
||||||
<a name="5.6.0"></a>
|
<a name="5.6.0"></a>
|
||||||
|
|
||||||
## 5.6.0 (2023-09-04)
|
## 5.6.0 (2023-09-04)
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
@ -121,6 +124,7 @@ Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXER
|
||||||
- Improved CI workflows, we're now testing on multiple platforms at once.
|
- Improved CI workflows, we're now testing on multiple platforms at once.
|
||||||
|
|
||||||
<a name="5.5.1"></a>
|
<a name="5.5.1"></a>
|
||||||
|
|
||||||
## 5.5.1 (2023-05-17)
|
## 5.5.1 (2023-05-17)
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
@ -128,6 +132,7 @@ Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXER
|
||||||
- Reverted `rust-project.json` path generation due to an upstream `rust-analyzer` fix.
|
- Reverted `rust-project.json` path generation due to an upstream `rust-analyzer` fix.
|
||||||
|
|
||||||
<a name="5.5.0"></a>
|
<a name="5.5.0"></a>
|
||||||
|
|
||||||
## 5.5.0 (2023-05-17)
|
## 5.5.0 (2023-05-17)
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
@ -163,6 +168,7 @@ Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXER
|
||||||
- Split quick installation section into two code blocks
|
- Split quick installation section into two code blocks
|
||||||
|
|
||||||
<a name="5.4.1"></a>
|
<a name="5.4.1"></a>
|
||||||
|
|
||||||
## 5.4.1 (2023-03-10)
|
## 5.4.1 (2023-03-10)
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Generics
|
# Generics
|
||||||
|
|
||||||
Generics is the topic of generalizing types and functionalities to broader cases.
|
Generics is the topic of generalizing types and functionalities to broader cases.
|
||||||
This is extremely useful for reducing code duplication in many ways, but can call for rather involving syntax.
|
This is extremely useful for reducing code duplication in many ways, but can call for some rather involved syntax.
|
||||||
Namely, being generic requires taking great care to specify over which types a generic type is actually considered valid.
|
Namely, being generic requires taking great care to specify over which types a generic type is actually considered valid.
|
||||||
The simplest and most common use of generics is for type parameters.
|
The simplest and most common use of generics is for type parameters.
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// - Append "bar" to the string a specified amount of times
|
// - Append "bar" to the string a specified amount of times
|
||||||
//
|
//
|
||||||
// The exact form of this will be:
|
// The exact form of this will be:
|
||||||
// - The input is going to be a vector of a 2-length tuple,
|
// - The input is going to be a Vector of 2-length tuples,
|
||||||
// the first element is the string, the second one is the command.
|
// the first element is the string, the second one is the command.
|
||||||
// - The output element is going to be a vector of strings.
|
// - The output element is going to be a vector of strings.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue