diff --git a/.all-contributorsrc b/.all-contributorsrc index 92bf2a0..d2ad252 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -2424,6 +2424,15 @@ "contributions": [ "content" ] + }, + { + "login": "OfirLauber", + "name": "Ofir Lauber", + "avatar_url": "https://avatars.githubusercontent.com/u/5631030?v=4", + "profile": "https://github.com/OfirLauber", + "contributions": [ + "content" + ] } ], "contributorsPerLine": 8, diff --git a/AUTHORS.md b/AUTHORS.md index fb249ac..51255a9 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -343,6 +343,7 @@ authors. Luka Krmpotić
Luka Krmpotić

🖋 Jurglic
Jurglic

🖋 + Ofir Lauber
Ofir Lauber

🖋 diff --git a/exercises/enums/enums3.rs b/exercises/enums/enums3.rs index dd97f79..3ed78fb 100644 --- a/exercises/enums/enums3.rs +++ b/exercises/enums/enums3.rs @@ -43,6 +43,7 @@ impl State { } fn process(&mut self, message: Message) { + // TODO: create a match expression to process the different message // variants // Remember: When passing a tuple as a function argument, you'll need @@ -53,6 +54,7 @@ impl State { Message::ChangeColor(red, green, blue) => self.change_color((red,green,blue)), Message::Quit => self.quit(), } + } }