Henk Oordt
bd17a59e8e
Merge pull request #177 from LucaBoschetto/patch-1
...
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
Update reference from Rustonomicon to Rust Reference
2024-10-21 13:27:25 +02:00
Henk Oordt
8c3e40033b
Merge pull request #174 from drguildo/channels-typo-fix
...
Fix typo
2024-10-21 13:24:04 +02:00
iacri
a392371ef0
05_ticket_v2 outro: correct comment on title ( #179 )
...
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
Characters was meant to be bytes, this was missed in a former refactoring
2024-10-19 09:36:26 +02:00
Luca Boschetto
f4cb4b55d0
Update reference from Rustonomicon to Rust Reference
...
The exercise refers to the "Data layout" section of the Rustonomicon, but now that section claims itself deprecated and redirects to the "Type layout" section of The Rust Reference.
2024-10-16 18:15:59 +02:00
Simon Morgan
45c32d8e41
Fix typo
2024-10-14 22:41:16 +01:00
Adalfarus
c437f75fcf
Update lib.rs, added info that needed panic messages can be found in the tests. ( #157 )
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-10-09 09:44:47 +02:00
Abdelrahman Omar
e768d9dbd8
add test coverage for IndexMut<&TicketId> ( #142 )
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-09-11 11:37:23 +02:00
Ernie Hershey
d5918375f3
Grammar fixups
2024-08-13 11:41:40 -04:00
LukeMathWalker
f882f0416d
Change exercise for mutable slices. Closes #26
2024-08-01 15:33:13 +02:00
Jack Moffitt
f272843c61
Remove pub visibility on server()
as the argument has a private type. This gets rid of a warning. ( #112 )
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-07-07 21:18:43 +02:00
LOGI
5660a2f7a8
fix(typo): a module name in comments ( #102 )
...
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
The output of the compiler does not include the module name of the `Ticket` struct and the root module of this exercise is `visibility` rather than `encapsulation` which is the root module of the next exercise.
2024-06-27 11:35:11 +02:00
Saqib Ahmed
491319a6d5
fix: fix a typo ( #103 )
2024-06-27 11:34:02 +02:00
Onè
468de3c0ac
Change test to require impl ( #87 )
...
impl std::ops::Add<&SaturatingU16> for SaturatingU16
2024-06-20 10:21:14 +02:00
tomgrbz
c86360f3c4
Remove array/slice syntax from argument &mut str in TODO comment for lowercase func ( #99 )
...
Co-authored-by: thomasgrbic <grbic.t@northeastern.edu>
2024-06-20 10:18:55 +02:00
LukeMathWalker
baca47f782
Add a TODO to make things more explicit.
2024-05-28 11:18:27 +02:00
Onè
f74fbd4800
typos ( #55 )
...
* Add missing of
* change tense of spawn
* ignored to ignoring
* add need
2024-05-28 11:04:08 +02:00
Luca Palmieri
99591a715e
Formatter ( #51 )
...
Enforce consistent formatting use `dprint`
2024-05-24 17:00:03 +02:00
LukeMathWalker
d5c0743c56
Reword instructions.
2024-05-24 12:36:15 +02:00
LukeMathWalker
453d8030e5
Add new section on trait bounds.
2024-05-23 15:29:42 +02:00
LukeMathWalker
2477f72adc
Remove ambiguity in 03/07 exercise mandate.
2024-05-23 14:39:43 +02:00
LukeMathWalker
f645b500c4
Improve as
casting exercise.
2024-05-23 14:37:05 +02:00
LukeMathWalker
6c217f7b66
Use "bytes" instead of "characters" consistently when talking about length of a String
.
2024-05-22 12:06:40 +02:00
LukeMathWalker
b54b0b7023
Fix test to use &mut rather than &. Closes #30
2024-05-22 11:11:05 +02:00
Fangyi Zhou
5bb9333ae9
Add i32/u32 suffix for numeric literals in 04_traits/01_trait ( #20 )
...
Without an explicit suffix, the compiler is able to use the i32
implementation without the need for an u32 implementation.
2024-05-22 11:04:04 +02:00
Jae-Won Chung
9bda4eb7e0
Check status field value after patch ( #22 )
2024-05-22 11:00:51 +02:00
taohua
44f3260fbe
misunderstand the implements verb ( #18 )
...
* Update 08_from.md
* test
* Update exercises/04_traits/08_from/src/lib.rs
---------
Co-authored-by: datewu <hihahajun@gmail.com>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-05-18 17:56:39 +02:00
Loup Federico
1d9ba4c25c
Fix typo in 05_ticket_v2/09_error_trait/[...] instructions ( #13 )
...
The commented instructions of the exercise ask to use `No description provided` for the description field when calling `easy_ticket` with an invalid description argument. However, the unit test of that behavior compares the description to `Description not provided` instead.
Previous exercises in that part also use `Description not provided`.
Update the exercise 05_ticket_v2/09_error_trait instructions to use `Description not provided` as an expected default description value when calling `easy_ticket` with no description instead of `No description provided`.
2024-05-18 17:54:50 +02:00
Ernie Hershey
45c5e390c0
Grammar typo ( #7 )
2024-05-17 16:59:04 +02:00
Arnau Diaz
d9b6b493e8
fixes usage valid_description
2024-05-17 11:46:20 +02:00
LukeMathWalker
17cfa531ba
Don't unwrap when trying to close the writer half in 08/07
2024-05-16 15:32:27 +02:00
LukeMathWalker
5d68add5ad
Fix: configure and read from socket correctly in 08/05
2024-05-16 10:14:46 +02:00
LukeMathWalker
804b275b06
Update guidance in 08/04.
2024-05-16 10:04:49 +02:00
LukeMathWalker
5fda479c96
Fix crate name.
2024-05-16 09:12:47 +02:00
LukeMathWalker
aa58dcb5ca
Last chapter on async Rust
2024-05-15 20:01:05 +02:00
LukeMathWalker
6e581440bf
Explain.
2024-05-14 15:54:26 +02:00
LukeMathWalker
3d534dd336
Use &str rather than &String.
2024-05-14 14:53:55 +02:00
LukeMathWalker
ab2f0298f0
Link to Rustonomicon for struct's data layout.
2024-05-14 10:56:14 +02:00
LukeMathWalker
90caadf797
Use more precise language in task assignment.
2024-05-14 10:52:46 +02:00
LukeMathWalker
2c044a2567
Fix instructions.
2024-05-14 10:05:25 +02:00
LukeMathWalker
ae7769d879
Check the implementation of Display in the tests.
2024-05-14 10:03:45 +02:00
LukeMathWalker
d9a0c025e9
Fix instructions.
2024-05-14 10:02:29 +02:00
LukeMathWalker
04c4e55b37
Fix tests
2024-05-13 21:02:44 +02:00
LukeMathWalker
0e38fa8ca7
Fix: error type
2024-05-13 20:59:12 +02:00
LukeMathWalker
a0f3a6eaa7
Fix: recv
returns an Option<Ticket>
2024-05-13 20:30:01 +02:00
LukeMathWalker
d23f48a3a9
Fix: use curly braces rather than parentheses
2024-05-13 15:30:50 +02:00
LukeMathWalker
a1a96f6457
Fix: remove unnecessary dereference.
2024-05-13 15:20:49 +02:00
LukeMathWalker
23ca48ca9e
Fix typo.
2024-05-13 14:03:49 +02:00
LukeMathWalker
22c029fea5
Fix test.
2024-05-13 13:58:35 +02:00
LukeMathWalker
33444dfeee
Remove IntoIterator impl for &TicketStore
2024-05-13 13:49:10 +02:00
LukeMathWalker
785c9af4be
Fix typo in comment.
2024-05-13 12:51:20 +02:00