1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-17 00:07:35 +02:00
Commit Graph

1866 Commits

Author SHA1 Message Date
liv
c8273e06c6 Merge pull request #1404 from nidhalmessaoudi/master
Always showing correct progress percentages.
2023-03-10 11:51:08 +01:00
liv
ff50159a3d fix: remove repl.it support for now
It stopped working and needs too much manual fixing, until someone
comes along to fix it, it's not great to have in the README section.

Closes #1352.
2023-03-03 21:27:57 +01:00
34aafa82f9 Main exercises 2023-02-27 21:37:25 +01:00
278a1f103b Original exercises 2023-02-27 21:33:28 +01:00
1acbbb6d43 Fixing the progress percentage 2023-02-27 21:17:45 +01:00
e3a20b8bc8 Learning about vectors 2023-02-27 21:16:40 +01:00
f7678b4a9e Learning about primitive data types 2023-02-27 12:57:40 +01:00
52ed5dbcf9 First quiz and its related modules 2023-02-26 17:28:24 +01:00
6c5ba7cc01 Better error message when failing 2023-02-26 19:30:57 +03:30
liv
36e66b545e Merge pull request #1396 from 0lhi/main
fix(macros4.rs): Add rustfmt::skip to prevent auto-fix.
2023-02-26 13:10:24 +01:00
liv
0e9966d6a4 Merge pull request #1397 from crd477/patch-1
rustfmt
2023-02-26 13:10:04 +01:00
liv
75fbf7a8f3 Merge pull request #1401 from rust-lang/all-contributors/add-mdmundo
docs: add mdmundo as a contributor for infra
2023-02-26 13:09:26 +01:00
liv
e700a3cc4d Merge branch 'main' into all-contributors/add-mdmundo 2023-02-26 13:09:20 +01:00
eb7f21df04 docs: update .all-contributorsrc [skip ci] 2023-02-26 12:08:07 +00:00
ac9c1adb75 docs: update AUTHORS.md [skip ci] 2023-02-26 12:08:06 +00:00
liv
d06f7bf1ff Merge pull request #1400 from rust-lang/all-contributors/add-eroullit
docs: add eroullit as a contributor for infra
2023-02-26 13:07:02 +01:00
7f06bb5fa7 docs: update AUTHORS.md [skip ci] 2023-02-26 12:06:57 +00:00
0ad8eec3eb docs: update .all-contributorsrc [skip ci] 2023-02-26 12:06:51 +00:00
3c841c4685 docs: update AUTHORS.md [skip ci] 2023-02-26 12:06:50 +00:00
liv
d5b647d5ab Merge pull request #1399 from eroullit/codespaces
Codespaces ❤️ Rustlings
2023-02-26 13:05:05 +01:00
86f8fa8e6e Update README.md
Fix refs from master to main
2023-02-25 17:57:34 +01:00
351e4e2460 Update devcontainer.json 2023-02-25 17:56:00 +01:00
1afc7ed8c5 Update README.md
Create Rustlings Codespace in one click
2023-02-25 17:20:31 +01:00
fcadbfc70d Merge branch 'rust-lang:main' into codespaces 2023-02-25 17:11:43 +01:00
8c88f769b6 rustfmt
rustfmt converts "main ()" -> "main()"
2023-02-24 08:51:03 -05:00
de24536187 macros4.rs: Add rustfmt::skip to prevent auto-fix.
The `macros4.rs` challenge can automatically be solved by rustfmt without the user noticing.

Adding `#[rustfmt::skip]` above the `macro_rules!` line fixes this issue.
2023-02-24 01:43:23 +01:00
1ac66f372b docs: clarify instructions on iterators5.rs
I changed the sentence that referenced the imperative implementation in iterators5.rs.

That implementation was already removed and replaced with `todo!()`
2023-02-21 09:45:59 -05:00
liv
701b4bef51 Merge pull request #1386 from cyril-marpaud/cmp_arc1
refactor(arc1): improve readability by avoiding implicit dereference
2023-02-19 12:34:52 +01:00
045d86aa42 refactor(arc1): improve readability by avoiding implicit dereference 2023-02-18 21:38:43 +01:00
89069f78b1 chore: update move_semantics4.rs' hint
after #144, the signature doesn't need changing anymore
2023-02-18 19:26:40 +00:00
fef8314d3d fix(move_semantics2): add expected output comment
You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
2023-02-18 18:43:34 +01:00
liv
bec7be05f5 Merge pull request #1383 from rust-lang/all-contributors/add-shgew
docs: add shgew as a contributor for content
2023-02-18 14:26:58 +01:00
d42ac49de4 docs: update .all-contributorsrc [skip ci] 2023-02-18 13:26:38 +00:00
1272d0b990 docs: update AUTHORS.md [skip ci] 2023-02-18 13:26:37 +00:00
liv
cf86e734f2 Merge pull request #1381 from shgew/fix/errors5-comment
fix: unify undisclosed type notation in errors5.rs
2023-02-18 14:26:23 +01:00
238a496af5 fix: unify undisclosed type notation in errors5.rs 2023-02-18 14:09:04 +01:00
liv
a3670d267b Merge pull request #1380 from rust-lang/all-contributors/add-Anush008
docs: add Anush008 as a contributor for doc
2023-02-17 19:04:09 +01:00
65f05f0541 docs: update .all-contributorsrc [skip ci] 2023-02-17 18:03:59 +00:00
338c95f120 docs: update AUTHORS.md [skip ci] 2023-02-17 18:03:58 +00:00
liv
2b9dc4424e Merge pull request #1379 from Anush008/patch-1
Removed verbose instructions from the uninstall section
2023-02-17 19:03:41 +01:00
ef0b25c392 Removed verbose instructions from the uninstall section 2023-02-17 22:51:42 +05:30
liv
6f0e5d13ed Merge pull request #1372 from rust-lang/all-contributors/add-black-puppydog
docs: add black-puppydog as a contributor for content
2023-02-15 14:17:07 +01:00
046a18cd16 docs: update .all-contributorsrc [skip ci] 2023-02-15 13:16:59 +00:00
e1e67d0d41 docs: update AUTHORS.md [skip ci] 2023-02-15 13:16:58 +00:00
liv
216d08d013 Merge pull request #1244 from black-puppydog/cow-rework
refactor(cow1):  replace main with tests
2023-02-15 14:16:22 +01:00
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
149e0c8ac2 Merge pull request #1370 from magnusrodseth/main
docs: add link to docs about `iter_mut` and `map`
2023-02-13 11:01:48 +01:00
48ce9d2fd8 docs: add link to docs about iter_mut and map 2023-02-12 18:26:13 +01:00
liv
fc9fb536ca release: 5.4.0 5.4.0 2023-02-12 18:01:48 +01:00
liv
4c7e561740 Merge pull request #1369 from rust-lang/all-contributors/add-grzegorz-zur
docs: add grzegorz-zur as a contributor for content
2023-02-12 16:55:30 +01:00