Commit graph

205 commits

Author SHA1 Message Date
David Bailey b66d86cce3 Add conversions solutions 2021-02-02 11:30:43 +00:00
David Bailey e50c35eb7c Add clippy solutions 2021-02-02 11:30:43 +00:00
David Bailey 3bdae9bb8a Add quiz4 solution 2021-02-02 11:30:43 +00:00
David Bailey 39dcd550a7 Add macros solutions 2021-02-02 11:30:43 +00:00
David Bailey 0202ba2869 Add threads1 solution 2021-02-01 18:56:40 +00:00
David Bailey cc8e0bc00a Add standard_library_types solutions 2021-02-01 18:56:40 +00:00
David Bailey fed35d4a68 Add quiz3 solution 2021-02-01 18:56:40 +00:00
David Bailey fa6f013a27 Add tests solutions 2021-02-01 18:56:40 +00:00
David Bailey af9b7e1b08 Add traits solutions 2021-02-01 18:56:40 +00:00
David Bailey 27545fe964 Add result1 solution 2021-02-01 18:56:40 +00:00
David Bailey dd88abf3d8 Add option solutions 2021-02-01 18:56:40 +00:00
David Bailey 50c322d8c9 Add generics solutions 2021-02-01 18:56:40 +00:00
David Bailey 28c830f92d Add errors solutions 2021-02-01 18:56:40 +00:00
David Bailey 90046d0560 Add quiz2 solution 2021-02-01 18:56:40 +00:00
David Bailey 7e271e068e Add strings solutions 2021-02-01 18:56:40 +00:00
David Bailey c1de217d0e Add collections solutions 2021-02-01 18:56:40 +00:00
David Bailey 6e353820be Add modules solutions 2021-02-01 18:56:40 +00:00
David Bailey b222596c95 Add enums solutions 2021-02-01 18:56:40 +00:00
David Bailey 26ade690cf Add structs solutions 2021-02-01 18:56:40 +00:00
David Bailey 65caf723ae Add primitive_types solutions 2021-02-01 18:56:40 +00:00
David Bailey 4350395179 Add move_semantics solutions 2021-02-01 18:56:40 +00:00
David Bailey 01f7d29148 Add quiz1 solution 2021-02-01 18:56:40 +00:00
David Bailey d9824aead2 Add if solutions 2021-02-01 18:56:40 +00:00
David Bailey 7d783c3a7b Add functions solutions 2021-02-01 18:56:40 +00:00
David Bailey a15c58a8d1 Add variables solutions 2021-02-01 18:56:39 +00:00
Jean-Francois Chevrette 15e71535f3 fix(from_str): test for error instead of unwrap/should_panic 2021-01-21 07:55:22 -05:00
Sang-Heon Jeon 4f1374a6e7 feat(from_into) : add test for checking unnecessary trailing value 2021-01-09 00:08:38 +09:00
Sang-Heon Jeon 5a0521e92c feat(from_str) : add test for checking unnecessary trailing value 2021-01-09 00:07:13 +09:00
Christian Zeller 7857b0a689
fix(threads1): line number correction 2021-01-06 13:47:20 +01:00
Marius Ungureanu 10965920fb
fix(move_semantics4): Small readbility improvement ()
* Small readbility improvement move_semantics4 doc

* Remove `an` as it refers to the argument
2021-01-06 10:12:33 +01:00
Axel Viala 0ef95947cc
fix(functions2): Change signature to trigger precise error message: ()
Now trigger this error:
```
error: expected type, found `)`
  --> exercises/functions/functions2.rs:10:16
   |
10 | fn call_me(num:) {
   |                ^ expected type

```
2020-12-27 12:36:38 +01:00
seancad bcf14cf677
fix: update structs README 2020-12-15 08:32:46 +01:00
JuliaCao 90cfb6ff28 fix: added missing exercises to info.toml 2020-12-12 10:34:59 -08:00
Peter N 30644c9a06
fix: gives a bit more context to magic number 2020-12-08 10:08:25 +01:00
JuliaCao 033bf1198f
feat: match exercise order to book chapters ()
Added exercise to book chapter mapping table to exercise README
2020-12-07 15:37:19 +01:00
fmoko cdc7d92e57
Merge pull request from tinkhauser/vec1_bugfix
fix(vec1): Have test compare every element in a and v
2020-12-06 15:09:45 +01:00
Christos Kontas 04f1d079aa feat(try_from_into): remove duplicate annotation 2020-12-03 17:51:30 +01:00
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.
2020-11-29 01:35:14 +00:00
Wei Hu 4f4cfcf3c3 fix(try_from_into): type error 2020-11-11 21:02:00 -08:00
JP 96347df9df
fix(try_from_into): Update description ()
Description update
2020-11-08 19:30:40 +01:00
fiplox 95ccd92616
feat(try_from_into): Add tests ()
Co-authored-by: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com>
2020-11-07 14:01:39 +01:00
JP 197d3a3d89
fix(iterators2): Update description ()
grammar fix in the description
2020-11-07 13:54:14 +01:00
sazid 633c00cf80 feat: Add HashMap exercises 2020-10-31 01:11:04 +06:00
sazid 0c12fa31c5 feat: Add Vec exercises 2020-10-31 01:10:49 +06:00
Matthew Smillie 472d8592d6 fix(primitive_types6): remove 'unused doc comment' warning 2020-10-13 23:20:17 -07:00
Matthew Smillie 4fb230daf1 fix(primitive_types6): missing comma in test 2020-10-13 23:18:41 -07:00
Axel Viala 2b1fb2b739
feat(primitive_types6): Add a test ()
Co-authored-by: Annika <56906084+AnnikaCodes@users.noreply.github.com>
Co-authored-by: fmoko <mokou@posteo.de>
2020-10-10 16:04:19 +02:00
Ryan McQuen 18e0bfef1d
fix(quiz3): Second test is for odd numbers, not even. () 2020-10-10 13:11:57 +02:00
fmoko 69fc9ce10e
Merge pull request from YJDoc2/main 2020-10-01 12:17:05 +02:00
Yashodhan Joshi 2ec0bdfd99 fix(variables5) : make shadowing more prominent
closes 
2020-10-01 08:31:42 +05:30