Commit Graph

1008 Commits (5e5271247ae0c5f061fb1c220eb7d6d8f0dcea28)
 

Author SHA1 Message Date
Matt Lebl 01e7f27aa6 refactor: change from match to if for NO_EMOJI 4 years ago
Matt Lebl 8d62a99637 feat: Replace emojis when NO_EMOJI env variable present 4 years ago
Mickael Fortunato ab9995e76e doc: Update collections exercises instruction to match the standard naming 4 years ago
Mickael Fortunato bef39b1259 fix(collections): Naming exercises for vectors and hashmap 4 years ago
Pascal H 0d894e6ff7
fix(quiz3): Force an answer to Q2 (#672)
Add also an example of unimplemented!() macro.
4 years ago
allcontributors[bot] be9510539e
docs: add hpwxf as a contributor (#671)
* 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
Pascal H 3bce2ef8d6
chore: clarify collections documentation
C++ `map` is more like BTreeMap.

`unordered_map` in C++(11) is the equivalent of `HashMap` in Rust.
(+ additional like for references).
4 years ago
Ivan Nerazumov aa9a943ddf
fix(installation): first PowerShell command
ExecutionPolicy to RemoteSigned command was fixed because the old command was getting denied access to change the Execution Policy property
4 years ago
Darius Wiles ebdb66c7bf
fix(structs2): correct grammar in hint (#663) 4 years ago
Darius Wiles 9f3e8c2dde
fix(structs3): reword heading comment (#664) 4 years ago
apogeeoak 96c56ab08a
chore: changed errors3 mode from test to compile 4 years ago
allcontributors[bot] 04dbf03ace
docs: add cadolphs as a contributor (#667)
* 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
cadolphs 05a753fe63
fix: add check to prevent naive implementation of is_international
* fix(structs3): Add check to prevent naive implementation

* chore(structs3): Add a missed newline after the test I added
4 years ago
allcontributors[bot] 815edb7003
docs: add cjwyett as a contributor (#666)
* 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
Cyrus Wyett 5157f56875
chore: fix typo
is however some --> are however some
4 years ago
allcontributors[bot] 3f5abca215
docs: add circumspect 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
circumspect 833df0b8b3
chore: fix typo
Co-authored-by: Chenkail <40770208+Chenkail@users.noreply.github.com>
4 years ago
marisa 6742860ea5
Merge pull request #658 from rust-lang/all-contributors/add-Crell
docs: add Crell as a contributor
4 years ago
allcontributors[bot] 797e6d45c0
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] 320de0d921
docs: update README.md [skip ci] 4 years ago
marisa 5eed505d74
Merge pull request #656 from Crell/spelling-fix
fix: Spelling error
4 years ago
Larry Garfield 91ee27f22b
fix: Spelling error 4 years ago
Jirka Kremser 5f7c89f85d
fix(from_str): Correct typos
typos in the comments
4 years ago
apogeeoak c6712dfccd fix(iterators3): Enabled iterators3.rs to run without commented out tests. 4 years ago
apogeeoak baf4ba175b fix(iterators2): Moved errors out of tests.
Closes #359
4 years ago
apogeeoak b29ea17ea9 feat: Added iterators5.rs exercise. 4 years ago
marisa ab57c26cf9
Merge pull request #644 from apogeeoak/clippy
Updated source to follow clippy suggestions.
4 years ago
marisa 98e5e8835e
Merge pull request #645 from rust-lang/all-contributors/add-apogeeoak
docs: add apogeeoak as a contributor
4 years ago
allcontributors[bot] f5158ece1a
docs: update .all-contributorsrc [skip ci] 4 years ago
allcontributors[bot] d65b4a9a93
docs: update README.md [skip ci] 4 years ago
marisa 8404947bc0
Merge pull request #642 from apogeeoak/contributing
Fixed grammar in contributing.md.
4 years ago
apogeeoak 2e84f34cf3 chore: Updated source to follow clippy suggestions. 4 years ago
apogeeoak 726805f064 docs: Fixed grammar in contributing.md. 4 years ago
marisa b4a4138559
Merge pull request #641 from rust-lang/all-contributors/add-tal-zvon
docs: add tal-zvon as a contributor
4 years ago
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