mirror of
https://github.com/notohh/rustlings.git
synced 2025-08-22 17:43:36 -04:00
Clean up and unify exercises
This commit is contained in:
parent
cb9f1ac9ce
commit
2f810a4da6
96 changed files with 267 additions and 635 deletions
|
@ -1,7 +1,3 @@
|
|||
// enums1.rs
|
||||
//
|
||||
// No hints this time! ;)
|
||||
|
||||
#[derive(Debug)]
|
||||
enum Message {
|
||||
// TODO: define a few types of messages as used below
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
// enums2.rs
|
||||
//
|
||||
// Execute `rustlings hint enums2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
#[derive(Debug)]
|
||||
enum Message {
|
||||
// TODO: define the different variants used below
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
// enums3.rs
|
||||
//
|
||||
// Address all the TODOs to make the tests pass!
|
||||
//
|
||||
// Execute `rustlings hint enums3` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
enum Message {
|
||||
// TODO: implement the message variant types based on their usage below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue