Skip to content

Commit 58cabf2

Browse files
author
liv
committed
release: 5.6.0
1 parent ae28d2f commit 58cabf2

File tree

6 files changed

+49
-10
lines changed

6 files changed

+49
-10
lines changed

CHANGELOG.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
<a name="5.6.0"></a>
2+
## 5.6.0 (2023-09-04)
3+
4+
#### Added
5+
6+
- New exercise: `if3`, teaching the user about `if let` statements.
7+
- `hashmaps2`: Added an extra test function to check if the amount of fruits is higher than zero.
8+
- `enums3`: Added a test for `Message`.
9+
- `if1`: Added a test case to check equal values.
10+
- `if3`: Added a note specifying that there are no test changes needed.
11+
12+
#### Changed
13+
14+
- Swapped the order of threads and smart pointer exercises.
15+
- Rewrote the CLI to use `clap` - it's matured much since we switched to `argh` :)
16+
- `structs3`: Switched from i32 to u32.
17+
- `move_semantics`: Switched 1-4 to tests, and rewrote them to be way simpler, while still teaching about the same
18+
concepts.
19+
20+
#### Fixed
21+
22+
- `iterators5`:
23+
- Removed an outdated part of the hint.
24+
- Renamed variables to use snake_case.
25+
- `vecs2`: Updated the hint to reference the renamed loop variable.
26+
- `enums3`: Changed message string in test so that it gets properly tested.
27+
- `strings2`: Corrected line number in hint, then removed it (this both happened as part of this release cycle).
28+
- `primitive_types4`: Updated hint to the correct ending index.
29+
- `quiz1`: Removed duplicated sentence from exercise comments.
30+
- `errors4`: Improved comment.
31+
- `from_into`: Fixed test values.
32+
- `cow1`: Added `.to_mut()` to distinguish from the previous test case.
33+
- `threads2`: Updated hint text to reference the correct book heading.
34+
35+
#### Housekeeping
36+
37+
- Cleaned up the explanation paragraphs at the start of each exercise.
38+
- Lots of Nix housekeeping that I don't feel qualified to write about!
39+
- Improved CI workflows, we're now testing on multiple platforms at once.
40+
141
<a name="5.5.1"></a>
242
## 5.5.1 (2023-05-17)
343

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "rustlings"
33
description = "Small exercises to get you used to reading and writing Rust code!"
4-
version = "5.5.1"
4+
version = "5.6.0"
55
authors = [
66
77
"Carol (Nichols || Goulding) <[email protected]>",

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ This will install Rustlings and give you access to the `rustlings` command. Run
4141
Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`.
4242

4343
```bash
44-
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.5.1)
45-
git clone -b 5.5.1 --depth 1 https://github.com/rust-lang/rustlings
44+
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.6.0)
45+
git clone -b 5.6.0 --depth 1 https://github.com/rust-lang/rustlings
4646
cd rustlings
4747
# if nix version > 2.3
4848
nix develop
@@ -79,8 +79,8 @@ If you get a permission denied message, you might have to exclude the directory
7979
Basically: Clone the repository at the latest tag, run `cargo install --path .`.
8080

8181
```bash
82-
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.5.1)
83-
git clone -b 5.5.1 --depth 1 https://github.com/rust-lang/rustlings
82+
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 5.6.0)
83+
git clone -b 5.6.0 --depth 1 https://github.com/rust-lang/rustlings
8484
cd rustlings
8585
cargo install --force --path .
8686
```

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
rustlings =
2323
pkgs.rustPlatform.buildRustPackage {
2424
name = "rustlings";
25-
version = "5.5.1";
25+
version = "5.6.0";
2626

2727
buildInputs = cargoBuildInputs;
2828
nativeBuildInputs = [pkgs.git];

oranda.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
},
1313
"components": {
1414
"artifacts": {
15-
"cargo_dist": false,
15+
"auto": true,
1616
"package_managers": {
1717
"preferred": {
1818
"macos/linux/unix": "curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash",
1919
"windows": "Start-BitsTransfer -Source https://raw.githubusercontent.com/rust-lang/rustlings/main/install.ps1 -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1"
2020
}
2121
}
22-
},
23-
"changelog": true
22+
}
2423
}
2524
}

0 commit comments

Comments
 (0)