Commit Graph
3369 Commits
Author SHA1 Message Date
mo8it a93a10ac68 Allow processing for hints and messages in the info file 2026-08-01 21:21:01 +02:00
mo8it 8560bac8e6 Don't require checking that an exercise runs 2026-08-01 14:46:44 +02:00
mo8it 9065860390 Fix checking for tests on Windows 2026-08-01 12:47:31 +02:00
mo8it bb183c3f66 Update deps 2026-08-01 12:40:50 +02:00
Mo Bitar d510f381d6 Revert "Fix dev check rejecting exercises with CRLF line endings" 2026-08-01 12:32:13 +02:00
Remo Senekowitsch 2f99667f39 Merge pull request #2425 from SandmeyerX/main
Fix `dev check` rejecting exercises with CRLF line endings
2026-07-31 19:13:47 +02:00
Sandmeyer 219f479f71 cargo fmt 2026-07-31 20:46:54 +08:00
Sandmeyer 9a21aa3806 Fix dev check rejecting exercises with CRLF line endings 2026-07-31 20:38:42 +08:00
Remo Senekowitsch 734461f2fb Merge pull request #2422 from sobhanmohammadi-dev/fix-quiz3-clippy
Fix clippy warnings in quiz3 solution
2026-07-18 11:38:00 +02:00
sobhanmohammadi-dev ceba18b476 Fix quiz3 clippy warnings 2026-07-18 13:01:52 +03:30
Remo Senekowitsch 925321705e Clarify hint of vecs1
A user got confused, thinking the two described methods are the *only*
ones. Calling them "basic" makes clear there are other (non-basic) ones.

discussed in:
https://github.com/rust-lang/rustlings/discussions/2419
2026-07-08 10:09:02 +02:00
Mo Bitar 5e7a5d1721 Merge pull request #2414 from hippietrail/hashmaps3-english-fixes
fix: standard English grammar/phrasing
2026-06-23 12:33:51 +02:00
mo8it d45578d1ba Update checkout action 2026-06-23 12:31:03 +02:00
hippietrail ab91098fda fix: bring solution in line with exercise 2026-06-22 18:23:25 +08:00
Andrew Dunbar 6e31382996 fix: standard English grammar/phrasing 2026-06-17 18:00:54 +08:00
Mo Bitar 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 Bitar 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 Senekowitsch 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 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 SenekowitschandMo Bitar 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 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 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