Commit Graph

523 Commits (main)

Author SHA1 Message Date
mo8it 01509a2a84 Remove comma 1 week ago
allupeng 8c3b8dcec4 doc : add a dot in hashmaps1.rs file to fill e.g. 3 weeks ago
allupeng 881d3e9441 doc : add a dot in structs3.rs file 3 weeks ago
YunShu f714534393
docs: add more info in threads
info.toml: 

```toml
[[exercises]]
name = "threads3"
path = "exercises/threads/threads3.rs"
mode = "test"
hint = """
An alternate way to handle concurrency between threads is to use
a mpsc (multiple producer, single consumer) channel to communicate.
With both a sending end and a receiving end, it's possible to
send values in one thread and receive them in another.
Multiple producers are possible by using clone() to create a duplicate
of the original sending end.
See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.
"""
```

threads3'hint contains this link, so it should be placed in Further Information
1 month ago
liv ca07abf3dc
Merge pull request #1929 from mo8it/threads2
threads2: simplify the exercise
2 months ago
Dan 30273a6ee5
Merge branch 'main' into main 2 months ago
mo8it 842e341895 threads2: simplify threads2 2 months ago
Mo c7cf3720bd
Merge pull request #1799 from NicolasRoelandt/patch-1
Remove confusing aside in 23_conversions/from_str.rs
2 months ago
wznmickey dd72429af4 Merge remote-tracking branch 'origin/main' 2 months ago
wznmickey 92183a74c4 chore: update the chapter of macros 2 months ago
Mo 34d04139cd
Merge pull request #1805 from paul-leydier/chapters-table
docs: sort exercise to book chapter mapping by exercise
2 months ago
Dan Bond f2833c5279
options1: Update wording & fix grammar
Signed-off-by: Dan Bond <danbond@protonmail.com>
2 months ago
liv 9c6f56b836
Merge pull request #1903 from mo8it/threads3
Remove unneeded Arc
2 months ago
mo8it 71700c506c Remove unneeded Arc 2 months ago
liv 14ca4e8197
Merge pull request #1866 from guizo792/guizo792
docs: Added comment for handling equal numbers in if/if1.rs `bigger` function
2 months ago
guizo792 ae69f423cd
Update exercises/03_if/if1.rs
Co-authored-by: liv <shadows@with.al>
2 months ago
liv d8ecf4bc2d fix: clean up "return" wording in iterators4 2 months ago
liv 244ec8fbf2
Merge pull request #1797 from 0Ahmed-0/typos
chore: fix a minor typo
2 months ago
liv a449d39bdc
Merge pull request #1785 from parnavh/main
Cleaned Up Unused Mutability
2 months ago
liv 76acf613c5
Merge branch 'main' into main 2 months ago
liv 31e7920cee
Merge pull request #1869 from evanmiller2112/main
Clarify language in hashmap3.rs (sum vs per match)
2 months ago
liv 32c19c2e47
Merge pull request #1832 from reifenrath-dev/main
chore: update from_into.rs task description to fit the code
2 months ago
liv c46a711526 fix: revert from_into test change 2 months ago
Ahmed 098ff228d7 chore: fix a minor typo 2 months ago
Evan Miller 19b5e24d5c
Update hashmaps3.rs description for clarity
I struggled with this exercise and didn't understand that it was looking for a summary of goals scored/conceded per team, instead of per match.

My goal here is just to clarify the language, essentially saying "the total number of goals the team scored" to indicate that we are looking for a sum.

Updated the exercise description to clarify this point.

Relates loosely to closed issue https://github.com/rust-lang/rustlings/issues/1361
3 months ago
Guizoul 1da82a0eab docs: Added comment for handling equal numbers in if/if1.rs `bigger` function 3 months ago
LeverImmy bcb192c707 chore: fixed minor typo 4 months ago
reifenrath-dev b70ed105db chore: update from_into.rs task description to fit the code 4 months ago
Sergei Gerasenko 93aef73eb5 Correct for more standard English 4 months ago
Paul Leydier 5453fad991 docs: sort exercise to book chapter mapping by exercise 5 months ago
NicolasRoelandt f35f63fa57
Remove confusing aside in 23_conversions/from_str.rs
The advice tell us how to return as String error message. Unless I missed something, we can't even return a String error message here, so this advice is more confusing than anything and should better be removed.
5 months ago
parnavh 21b1e6ecf8 fix(move_semantics): removed unused mut 6 months ago
Bastian Pedersen 3461c4f73d
Reword clippy1 exercise to be more readable 6 months ago
Tristram Oaten 2ac6606c6c fix(intro2): changed intro2 to be a name error, not a format string error. 7 months ago
markgreene74 3545c5a7a4 fix(intro1.rs): typo in the exercise body 7 months ago
Adam Brewer 64d95837e9 Update Exercises Directory Names to Reflect Order 7 months ago
Matt Nield 642aac6f43
chore(errors2): minor description wording change
This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing:

"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the tokens."
to
"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the items."
7 months ago
Ofir Lauber 83ac243c00 chore: fix comment in enums3.rs 8 months ago
liv 170aaabe9b
Merge pull request #1673 from husjon/fix-enums3-formatting
Fixed formatting of `enums3` with rustfmt
8 months ago
liv 2e48fe9cc7
Merge pull request #1675 from jurglic/fix-rand-typo
fix: test name typo
8 months ago
Luka Krmpotic eb84eaf151 remove hint comments when no hint exists 8 months ago
Jurglic a0699bd917 fix: test name typo 8 months ago
Jon Erling Hustadnes 0ee9c5b776 Fixed formatting with rust-analyzer 8 months ago
liv e12504a61d
Merge pull request #1667 from husjon/update-primitive_types3-requirement
Make `primitive_types3` require at least 100 elements
8 months ago
Oscar Bonilla 33a4f4e454 Fix compiler error and clarify instructions 8 months ago
Jon Erling Hustadnes a5e4133516
Make primitive_types3 require at least 100 elements
Made the function panic if it's not long enough
8 months ago
liv 4d04aad890
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
9 months ago
liv 992e5163d3
Merge pull request #1565 from pksadiq/fix-enum3-message-modification
fix(enums3): modify message string in test
9 months ago
liv c57ad35e5b
Merge pull request #1477 from bean5/main
small changes to a few README files
9 months ago
liv abc3013096
Merge pull request #1660 from rust-lang/fix/move-semantics-tests
fix: refactor move semantics 1-4 into tests
9 months ago