Commit Graph
3360 Commits
Author SHA1 Message Date
AramJonghu 1c85acbd7e fix analyzer 2026-07-10 18:26:35 +02:00
AramJonghu d23998f2b3 Removal of workflows again 2026-07-10 17:55:10 +02:00
AramJonghu e84e3ac8cc done until quiz1 2026-07-10 13:25:51 +02:00
AramJonghu 8f249751ea progress variables 2026-07-09 15:06:07 +02:00
AramJonghu 2b8273fd55 Start(variables): intro & variables progress 2026-07-03 13:25:21 +02:00
AramJonghu fafdaca47f fixes rust-analyzer lsp for exercises 2026-06-18 19:39:10 +02:00
Mo BitarandGitHub 4bab596677 Merge pull request #2405 from aeft/improve-doc
Align section references with Rust Book section names
2026-05-25 15:14:05 +02:00
Zhijie Wang 9172a5bf27 Align section references with Rust Book section names 2026-05-24 16:51:48 -07:00
Remo Senekowitsch b18a8c3036 strings4: remove From-based conversion
To understand From-based conversion, an understanding of traits is
required, which we teach in a later chapter. The From trait specifically
is taught in one of the conversion exercises. So, we can safely remove
it here without users missing out on learning something important.

A specific source of confusion for users was a warning that the
conversion is useless, which appeared when using the `string_slice`
function for the expression with `.into()`. closes #2190
2026-05-24 06:23:34 +02:00
Remo Senekowitsch 60b369a2fd Explain changed line in if3 solution 2026-05-17 08:49:57 +02:00
Mo BitarandGitHub db3f332507 Merge pull request #2315 from Lev200501/enum-constructor
Update `13_error_handling/error6`: Remove redundant functions, use enum constructors instead
2026-05-17 01:52:35 +02:00
Remo SenekowitschandGitHub ef218cd5d0 Merge pull request #2386 from senekor/senekor/lxuqllrrmroy
Use infallible conversion to teach From trait
2026-05-15 10:44:52 +02:00
Remo Senekowitsch 361a7f501e Add inverted formula and its derivation to hint 2026-05-15 10:41:35 +02:00
Remo Senekowitsch 360344ab6c Simplify story and increase difficulty
Conversion between Celsius and Fahrenheit should be understandable to
most. Inverting the formula is still not very hard, but a little harder
than only multiplying by 100.
2026-05-15 10:41:35 +02:00
Remo Senekowitsch db5ad7f42f Use infallible conversion to teach From trait 2026-05-15 09:18:40 +02:00
Remo SenekowitschandGitHub 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
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 SenekowitschandGitHub 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 SenekowitschandGitHub 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 SenekowitschandPiotr Spieker 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 BitarandGitHub 0907e65245 Merge pull request #2284 from noroutine/rustlingsua
Community Rustlings in Ukrainian
2026-05-09 12:32:33 +02:00
Mo BitarandGitHub d6caefb139 Merge branch 'main' into rustlingsua 2026-05-09 12:32:23 +02:00
Mo BitarandGitHub 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 BitarandGitHub 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 BitarandGitHub 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 BitarandGitHub 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 BitarandGitHub 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 BitarandGitHub 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 BitarandGitHub 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 BreisacherandGitHub 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 BitarandGitHub 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