3345 Commits

Author SHA1 Message Date
Remo Senekowitsch
05d0b14a58
Add exercise traits6 practicing extension traits 2026-05-15 09:23:33 +02:00
Remo Senekowitsch
9b50da484f
Merge pull request #2397 from rust-lang/senekor/onvlpnlyoqww
Redesign vec1 to avoid confusing array literal
2026-05-14 23:34:25 +02:00
Remo Senekowitsch
f3036315a0
Clarify order of elements
Co-authored-by: Mo Bitar <76752051+mo8it@users.noreply.github.com>
2026-05-14 23:31:11 +02:00
Remo Senekowitsch
97a723508c
Redesign vec1 to avoid confusing array literal
Learners were sometimes confused by the literal array. Their assumption
was that they are supposed to convert the array to a vector. Duplicating
the literal elements was not an intuitive solution.

This redesign avoids putting an identical array literal near the place
where learners are supposed to use the vec! macro.
2026-05-14 16:19:53 +02:00
Remo Senekowitsch
03ddf3683b
Update changelog 2026-05-14 16:14:40 +02:00
Remo Senekowitsch
06ca7b8718
Merge pull request #2393 from foxfromworld/issue-2023-rename-exercises
Apply Option A naming for smart_pointers and conversions exercises
2026-05-13 14:43:17 +02:00
Jane
ef99b5cb9e docs: update README after rebase 2026-05-13 19:57:17 +08:00
Jane
5b1edf5f4f Rename smart_pointers and conversions exercises with numeric prefix (Option A) 2026-05-13 19:36:32 +08:00
Jane
4338c58079 Rename smart_pointers and conversions exercises with numeric prefix
Update rustlings-macros/info.toml and dev/Cargo.toml accordingly
2026-05-13 19:36:32 +08:00
mo8it
e38c82ccbb Add a hint about opening the book offline 2026-05-11 12:14:28 +02:00
mo8it
a40a4dd43b Update deps 2026-05-11 12:09:01 +02:00
mo8it
60edde0f59 Make Ferris more symmetrical 2026-05-11 12:08:00 +02:00
mo8it
848e3f9294 Upgrade upload-pages-artifact 2026-05-11 12:08:00 +02:00
Remo Senekowitsch
fd237df59a
Merge pull request #2317 from EugenDueck/patch-1
try_from_into.rs: Improve slice implementation
2026-05-11 09:28:06 +02:00
Remo Senekowitsch
d9e0b103c4
Update hint of enums2
This was discussed in another PR, but it was merged before the code was
updated to the most recent consensus:
https://github.com/rust-lang/rustlings/pull/2353

Co-authored-by: Piotr Spieker <p.spieker@posteo.de>
2026-05-09 21:15:18 +02:00
Mo Bitar
0907e65245
Merge pull request #2284 from noroutine/rustlingsua
Community Rustlings in Ukrainian
2026-05-09 12:32:33 +02:00
Mo Bitar
d6caefb139
Merge branch 'main' into rustlingsua 2026-05-09 12:32:23 +02:00
Mo Bitar
d9b63641e5
Merge pull request #2351 from dipan-ck/docs-add-string-links
docs: add str and String documentation links
2026-05-09 12:27:28 +02:00
Mo Bitar
3b0e7393f7
Merge pull request #2352 from eoncheole/patch-1
docs: add Korean Rustlings to community exercises list
2026-05-09 12:26:26 +02:00
Mo Bitar
d3d414c7b1
Merge pull request #2353 from orzechow/improve_enums2_hint
Mention struct-like variants in enums2 hint instead of anonymous structs
2026-05-09 12:24:36 +02:00
Mo Bitar
6c392609a3
Merge pull request #2388 from senekor/senekor/vnopstqrrszn
Use slice instead of array in iterator1
2026-05-09 10:41:13 +02:00
Mo Bitar
1d53bd1b54
Merge pull request #2380 from MatrixFrog/std-docs
Add a note about offline stdlib docs
2026-05-09 10:17:41 +02:00
Remo Senekowitsch
124708acd9
Use slice instead of array in iterator1
This avoids confusion between `.into_iter()` and `.iter()`. On a slice,
both methods do the same (correct) thing. Using `.into_iter()` will
result in a clippy warning about the slice not being consumed.
2026-05-03 14:56:32 +02:00
Piotr Spieker
f9f8a37bc7
Improve the list of enum variants in enums2 hint 2026-04-30 12:05:50 +02:00
Mo Bitar
4f1a440962
Merge pull request #2381 from senekor/senekor/soqukxyvzplr
Emphasize hotkeys in footer with color
2026-04-25 14:14:15 +02:00
Remo Senekowitsch
4c4dd20be3
Merge main into senekor/soqukxyvzplr 2026-04-25 14:08:53 +02:00
Remo Senekowitsch
e0334f79fe
Avoid nested function definition 2026-04-25 14:08:53 +02:00
Mo Bitar
b06c843179
Merge pull request #2384 from senekor/senekor/kvvswrqlorup
Allow selecting next exercise with enter key
2026-04-25 14:04:11 +02:00
Remo Senekowitsch
b86a532e28
Document enter keybind in list footer 2026-04-25 13:58:31 +02:00
Remo Senekowitsch
c658a997f3
Turn unnecessary closure into regular function 2026-04-20 13:55:08 +02:00
Remo Senekowitsch
870776d03b
Allow selecting next exercise with enter key 2026-04-19 00:38:18 +02:00
Tyler Breisacher
013a88a1e6
new wording from @senekor 2026-04-17 21:05:13 -07:00
Remo Senekowitsch
03c5baf35c
Emphasize hotkeys in footer with color 2026-04-18 05:57:14 +02:00
Tyler Breisacher
5464fcd7e6 Add a note about offline stdlib docs 2026-04-16 19:21:08 -07:00
Mo Bitar
b7308825ec
Merge pull request #2296 from senekor/senekor/nqmzmklxswoz
Make users type method syntax themselves in `structs3`
2026-04-13 19:01:44 +02:00
Remo Senekowitsch
346753b673
Make starting fireworks more fun :) 2026-04-13 18:58:53 +02:00
Mo Bitar
3bbc3001c9
Merge pull request #2378 from k7a-tomohiro/remove-unnecessary-tmp-file
Remove unnecessary tmp.txt file
2026-04-08 13:02:33 +02:00
k7a-tomohiro
b59f444bbc remove 2026-04-08 08:26:23 +09:00
mo8it
a307599b0b Fix test 2026-04-07 00:15:33 +02:00
mo8it
432d1f84ea Add --no-editor 2026-04-07 00:10:25 +02:00
mo8it
b5fbf59c0c Check if editor program exists before choosing it 2026-04-07 00:04:56 +02:00
mo8it
695f927893 Show file link on reset command 2026-04-06 23:29:59 +02:00
mo8it
f403d9e1b6 Show current exercise on hint command 2026-04-06 23:29:59 +02:00
mo8it
95499f18dd Close editor on quit 2026-04-06 23:11:35 +02:00
mo8it
bc0b4e9f9a Simplify Editor::open 2026-04-06 17:32:30 +02:00
mo8it
b0dc014040 Improve description of --edit-cmd 2026-04-06 17:24:55 +02:00
mo8it
b48663030b Add shlex 2026-04-06 16:58:15 +02:00
mo8it
dace3e3953 Add run_cmd 2026-04-06 16:58:15 +02:00
mo8it
c9ccedcff6 Support VSCode and --edit-cmd as editor 2026-04-06 16:58:15 +02:00
mo8it
4d97c31c0f Add Zellij support 2026-04-06 01:32:29 +02:00