Commit Graph

835 Commits (3a06de71a8803d1f262f0783edb0cca4a93226df)
 

Author SHA1 Message Date
marisa 5eed505d74
Merge pull request #656 from Crell/spelling-fix
fix: Spelling error
3 years ago
Larry Garfield 91ee27f22b
fix: Spelling error 3 years ago
Jirka Kremser 5f7c89f85d
fix(from_str): Correct typos
typos in the comments
3 years ago
marisa ab57c26cf9
Merge pull request #644 from apogeeoak/clippy
Updated source to follow clippy suggestions.
3 years ago
marisa 98e5e8835e
Merge pull request #645 from rust-lang/all-contributors/add-apogeeoak
docs: add apogeeoak as a contributor
3 years ago
allcontributors[bot] f5158ece1a
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] d65b4a9a93
docs: update README.md [skip ci] 3 years ago
marisa 8404947bc0
Merge pull request #642 from apogeeoak/contributing
Fixed grammar in contributing.md.
3 years ago
apogeeoak 2e84f34cf3 chore: Updated source to follow clippy suggestions. 3 years ago
apogeeoak 726805f064 docs: Fixed grammar in contributing.md. 3 years ago
marisa b4a4138559
Merge pull request #641 from rust-lang/all-contributors/add-tal-zvon
docs: add tal-zvon as a contributor
3 years ago
allcontributors[bot] f1d2b3a39a
docs: update .all-contributorsrc [skip ci] 3 years ago
allcontributors[bot] 1f9d006858
docs: update README.md [skip ci] 3 years ago
Tal cc266d7d80
fix(move_semantics4): Remove redundant "instead" (#640) 3 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