Commit graph

224 commits

Author SHA1 Message Date
Matthias Richter
77b687d501 fix(enums) make enum variants more consistent
closes #1545
2023-11-14 08:19:40 +01:00
Raymon Roos
7e16e7721a fix(traits3): grammar mistake in the hint for traits3 2023-11-05 15:30:47 +01:00
Tristram Oaten
2ac6606c6c fix(intro2): changed intro2 to be a name error, not a format string error. 2023-10-20 17:31:56 +01:00
Adam Brewer
64d95837e9 Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
Matt Nield
5374811f96
chore(errors1): fix grammar typo in hint for exercise errors1
This commit corrects a grammar typo in the hint of the errors1 exercise, changing from:
"`Ok` and `Err` are one of the variants of `Result`,"
to:
"`Ok` and `Err` are the two variants of `Result`,"
2023-10-13 15:28:14 -04:00
Rogier 'DocWilco' Mulhuijzen
8e6c83b4cf chore: make hints proper markdown
Also rewrapped some hints to 80 columns so that they also look good in a
terminal.

closes #1698
2023-09-29 00:39:51 +02:00
liv
4d04aad890
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
2023-09-06 09:31:46 +02:00
liv
ad0fad4218
Merge branch 'main' into update-hints-for-vecs2 2023-09-04 14:39:16 +02:00
liv
0aa9418736
Merge branch 'main' into chore/update-hints 2023-09-04 14:34:13 +02:00
liv
abc3013096
Merge pull request #1660 from rust-lang/fix/move-semantics-tests
fix: refactor move semantics 1-4 into tests
2023-09-04 14:32:01 +02:00
liv
51e237d5f9 fix: refactor move semantics 1-4 into tests 2023-09-04 14:29:06 +02:00
liv
4d9b68b377
Merge pull request #1598 from yamila-moreno/fix/hint-in-primitives-4
fix(primitives-4.rs): update hint so it's less confusing
2023-09-04 13:58:05 +02:00
liv
4de3b4a635
Merge pull request #1630 from gabay/chore/threads2-text
info.toml: update threads2 text.
2023-09-04 13:46:28 +02:00
mo8it
193b600382 Convert other exercises that have assertions to test mode 2023-08-27 01:06:01 +02:00
mo8it
64224d3918 Make move_semantics5 a test 2023-08-27 00:48:19 +02:00
mo8it
3cc9be0d11 Avoid line numbers in hints 2023-08-26 23:25:12 +02:00
Roi Gabay
af76794627 info.toml: update threads2 text.
the previous text does not appear in the provided link (https://doc.rust-lang.org/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct).
2023-08-21 16:19:30 +03:00
Yamila Moreno
662e5bddd7 fix(primitives-4.rs): update hint so it's less confusing 2023-07-17 15:58:29 +02:00
Will Hack
37cdea9183 Merge branch 'main' into chore/update-hints 2023-07-04 12:05:19 -04:00
Joshua Carlson
287172698a added if3 based on: Using if in a let Statement 2023-07-03 14:52:13 -04:00
Will Hack
0ab781c7a7 chore: remove line reference from strings2 hint 2023-07-03 14:20:38 -04:00
Will Hack
b99c7b8c37 chore: update line reference in strings2 hint 2023-07-02 13:46:59 -04:00
vnprc
405b32e77a
chore: use correct line number in strings2.rs hint 2023-06-26 09:17:39 -04:00
liv
adc7ca5690 fix(move_semantics2): change type back to compile 2023-06-22 10:10:44 +02:00
tajo48
e1704a2f1b
Merge branch 'main' into main 2023-06-15 00:46:45 +02:00
liv
06ddcfb0bb
Merge pull request #1113 from Frosthage/main
Improve hint for as_ref_mut
2023-06-12 12:36:06 +02:00
liv
44f706a5e7
Merge pull request #1542 from luhem7/main
fix(threads, smart pointers): Swap order of threads and smart pointers exercises
2023-06-12 12:33:29 +02:00
liv
c6c7dd2fce
Merge pull request #1544 from FWDekker/main
fix(vecs): rename outdated variable name in hint
2023-06-12 12:32:10 +02:00
liv
369ae2e63d feat(move_semantics2): rewrite hint 2023-06-12 12:07:18 +02:00
Florine W. Dekker
479574e88e
fix(vecs): rename outdated variable name in hint 2023-06-07 16:58:02 +02:00
luhem7
a96bbcd967 fix(threads, smart pointers): Swap order of threads and smart pointers exercises
closes #1541
2023-06-03 10:20:29 -04:00
tajo48
1e02f194fd update hint for vecs2 to match with exercise as it was updated to fix clarity 2023-05-31 16:37:41 +02:00
b1ue64
a7257a1d1e
feat(iterators5): remove outdated part of hint 2023-05-20 16:38:33 -04:00
deedy5
e2da663628
Update info.toml
modules2.rs: add more information to hint
2023-04-21 15:51:52 +00:00
J.c
8cb5cba775 docs(vecs2): update hints 2023-04-08 10:50:50 +02:00
liv
f86fa1e909
Merge pull request #1385 from alexwh/patch-1
chore: update move_semantics4.rs' hint
2023-04-05 13:09:20 +00:00
poneciak
c4974ac782 added required changes
- fixed grammar in hint and added more specific link
- added comments in test functions
- changed introduction paragraph
2023-04-05 13:09:13 +02:00
poneciak
27b7579566 created task 2023-04-05 08:18:51 +02:00
Sagar Vora
b1fb38e73c fix: move lifetimes above tests in recommended order 2023-04-02 12:25:24 +05:30
Vegard Matthey
95e51f384e fixed a spelling mistake in info.toml 2023-03-26 23:25:59 +02:00
Sven Siegmund
ec86b60e70 improve hint for strings2, #1407 2023-03-10 17:58:03 +01:00
Alex
89069f78b1
chore: update move_semantics4.rs' hint
after #144, the signature doesn't need changing anymore
2023-02-18 19:26:40 +00:00
Daan Wynen
bbdc5c6039 refactor(cow1): replace main with tests
Following the discussion in #1195 this is the best I could come up with.
The issue for me (and apparently a few other learners) was that the code
needed to complete the exercise was not _missing_, but was rather there
but wrong.

In the end, what made the difference between this exercise and others
(for me) was that in this exercise I was supposed to learn what to
*expect* of an output. So I think it makes sense here to let the learner
modify the tests and not the code itself.

Fixes #1195

Signed-off-by: Daan Wynen <black.puppydog@gmx.de>

# Conflicts:
#	info.toml
2023-02-14 20:37:33 +01:00
liv
7be4fd891d
Merge pull request #1305 from platformer/issue1298
fix(threads1): make program panic if threads are not joined
2023-02-12 16:50:03 +01:00
h4x5p4c3
6b04848d41 minor changes to hint 2023-01-11 00:23:21 +05:30
Tobias Klauser
7c4a3a2af6
Fix typo in clippy1 hint 2023-01-05 17:14:49 +01:00
seporterfield
a5429d59f9
updated file paths for iterators, smart_pointers 2023-01-01 02:46:40 +01:00
seporterfield
cb79be921d
reordered smart pointer exercises
Switched rc and arc so rc comes first, since arc is, like the name implies, atomic rc. This gives the exercises a more logical progression.
Moved all smart pointer exercises (box, rc, arc, cow) under threads into their own section. Threads are used in the smart pointer exercises, so they should be introduced first.
2023-01-01 01:32:38 +01:00
platformer
7e4ce38681 fix(threads1): make program panic if threads are not joined
closes #1298
2022-12-26 02:25:43 -06:00
Petr Pucil
4303717951 chore: "rust" -> "Rust" in exercise hints 2022-12-25 18:02:37 +01:00