Commit Graph

874 Commits (4a384cae4ac735e243bbc58184b1f409e914ddc5)
 

Author SHA1 Message Date
allcontributors[bot] f1d2b3a39a
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] 1f9d006858
docs: update README.md [skip ci] 4 years ago
Tal cc266d7d80
fix(move_semantics4): Remove redundant "instead" (#640) 4 years ago
marisa fff72afe2e
Merge pull request #636 from rust-lang/all-contributors/add-jbaber
docs: add jbaber as a contributor
4 years ago
allcontributors[bot] c1abd13b5c
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] 75802c14b2
docs: update README.md [skip ci] 4 years ago
John Baber-Lucero cddc1e86e7
fix(info): Fix typo (#635)
Co-authored-by: John Baber-Lucero <git@frundle.com>
4 years ago
fmoko 24ea42ce61
Merge pull request #627 from rust-lang/all-contributors/add-jfchevrette
docs: add jfchevrette as a contributor
4 years ago
allcontributors[bot] 6102e612fa
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] 52bde71166
docs: update README.md [skip ci] 4 years ago
Abdou Seck 15a79cfe9c
Merge pull request #626 from jfchevrette/patch-1
Fix instructions(steps) for conversions/from_str exercice
4 years ago
Jean-Francois Chevrette 15e71535f3 fix(from_str): test for error instead of unwrap/should_panic 4 years ago
mokou 9f988bfe29 docs: Remove duplicate uninstallation section 4 years ago
fmoko e8d1baa4b5
Merge pull request #599 from AbdouSeck/improve-list-command
feat(cli): Improve the list command with options, and then some
4 years ago
Abdou Seck 8bbe4ff138 feat(cli): Improve the list command with options, and then some
1.
`rustlings list` should now display more than just the exercise names.
Information such as file paths and exercises statuses should be displayed.
The `--paths` option limits the displayed fields to only the path names; while the `--names`
option limits the displayed fields to only exercise names.
You can also control which exercises are displayed, by using the `--filter` option, or
the `--solved` or `--unsolved` flags.

Some use cases:
- Fetching pending exercise files with the keyword "conversion" to pass to my editor:
```sh
vim $(rustlings list --filter "conversion" --paths --unsolved)
```

- Fetching exercise names with keyword "conversion" to pass to `rustlings run`:
```sh
for exercise in $(rustlings list --filter "conversion" --names)
do
    rustlings run ${exercise}
done
```

2.
This should also fix #465, and will likely fix #585, as well.
That bug mentioned in those issues has to do with the way the `watch` command handler fetches the pending exercises.
Going forward, the least recently updated exercises along with all the other exercises in a pending state are fetched.
4 years ago
Abdou Seck 0b9220c1fc Add looks_done method to Exercise to expose a resolution state 4 years ago
Abdou Seck 0d65753fdb
Merge pull request #622 from lntuition/conversions_more_utc
feat(conversions): Add more unit tests to `from_str` and `from_into` exercises.
4 years ago
Sang-Heon Jeon 4f1374a6e7 feat(from_into) : add test for checking unnecessary trailing value 4 years ago
Sang-Heon Jeon 5a0521e92c feat(from_str) : add test for checking unnecessary trailing value 4 years ago
fmoko fea86c29d6
chore: Remove Readme GIF 4 years ago
fmoko 9c4614f7e6
Merge pull request #619 from rust-lang/all-contributors/add-chrizel
docs: add chrizel as a contributor
4 years ago
allcontributors[bot] c24a78ae94
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] 621816fb56
docs: update README.md [skip ci] 4 years ago
fmoko cfae54d361
Merge pull request #618 from chrizel/patch-1
fix(threads1): line number correction
4 years ago
Christian Zeller 7857b0a689
fix(threads1): line number correction 4 years ago
Marius Ungureanu 10965920fb
fix(move_semantics4): Small readbility improvement (#617)
* Small readbility improvement move_semantics4 doc

* Remove `an` as it refers to the argument
4 years ago
fmoko d2e7ecabd8
Merge pull request #616 from rust-lang/all-contributors/add-wsh
docs: add wsh as a contributor
4 years ago
fmoko 5772589dc3
Merge pull request #615 from wsh/docfixes
docs: mention flatten in the options2 hint
4 years ago
allcontributors[bot] 6df08b411b
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] c355ac6593
docs: update README.md [skip ci] 4 years ago
Will Hayworth e9b42bbc2a docs: mention flatten in the options2 hint 4 years ago
Abdou Seck 1283aa3bd8 Merge pull request #606 from RoelofWobben/ghost-RoelofWobben-patch-1
fix: Update README.md for Windows users to exclude the rustlings directory
from the list of directories scanned by Anti-Virus programs.
4 years ago
RoelofWobben ff6cba7205 Update README.md 4 years ago
fmoko d0107f7921
Merge pull request #609 from xehpuk/patch-1
fix: typo in default out text
4 years ago
xehpuk 644c49f1e0
fix: typo in default out text 4 years ago
mokou a303d508cf release: 4.3.0 4 years ago
mokou 44d39112ff feat: Rewrite default out text
This has been in place for a long time now, before we had an install
script, so it ended up repeating a bunch of the same things that the
install script does automatically. I rewrote it so that it gives more
helpful information about how you're supposed to do Rustlings.
Hopefully this will reduce the number of "I started Rustlings and it
gave me an error" issues (no offense to anyone who opened one of those,
it was pretty unclear that it _wasn't_ an error).
4 years ago
mokou 28020d0c54 docs: Add note on uninstalling to README 4 years ago
Axel Viala 0ef95947cc
fix(functions2): Change signature to trigger precise error message: (#605)
Now trigger this error:
```
error: expected type, found `)`
  --> exercises/functions/functions2.rs:10:16
   |
10 | fn call_me(num:) {
   |                ^ expected type

```
4 years ago
allcontributors[bot] 4ac70a99ae
docs: add seancad as a contributor
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
4 years ago
seancad bcf14cf677
fix: update structs README 4 years ago
fmoko 1dae782cd4
Merge pull request #598 from JuliaCao/update_exec_order
fix: added missing exercises to info.toml
4 years ago
JuliaCao 90cfb6ff28 fix: added missing exercises to info.toml 4 years ago
allcontributors[bot] 26110da7ca
docs: add pcn as a contributor
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
4 years ago
Peter N 30644c9a06
fix: gives a bit more context to magic number 4 years ago
JuliaCao 033bf1198f
feat: match exercise order to book chapters (#541)
Added exercise to book chapter mapping table to exercise README
4 years ago
fmoko cdc7d92e57
Merge pull request #592 from tinkhauser/vec1_bugfix
fix(vec1): Have test compare every element in a and v
4 years ago
fmoko af0e3b8f17
Merge pull request #594 from xakon/fix/try_from_into
feat(try_from_into): remove duplicate annotation
4 years ago
Christos Kontas 04f1d079aa feat(try_from_into): remove duplicate annotation 4 years ago
Jacob Tinkhauser 9b6c629397
fix(vec1): Have test compare every element in a and v
The previous test would stop comparing elements in array a and vec v upon reaching the last element of either. This resulted in the test passing even if v did not contain all the elements in a. This change to the test fixes that bug and should only pass if all the elements in a and v are present and equal.
4 years ago