diff --git a/.all-contributorsrc b/.all-contributorsrc
index 94141140..97d38f5b 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1713,6 +1713,15 @@
"contributions": [
"content"
]
+ },
+ {
+ "login": "HerschelW",
+ "name": "Kent Worthington",
+ "avatar_url": "https://avatars.githubusercontent.com/u/17935816?v=4",
+ "profile": "https://github.com/HerschelW",
+ "contributions": [
+ "content"
+ ]
}
],
"contributorsPerLine": 8,
diff --git a/AUTHORS.md b/AUTHORS.md
index 2fc637f2..160eed57 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -244,6 +244,7 @@ authors.
 Moritz Böhme 💻 |
 craymel 🖋 |
 TK Buristrakul 🖋 |
+  Kent Worthington 🖋 |
diff --git a/exercises/enums/enums3.rs b/exercises/enums/enums3.rs
index 54fd6f60..a2a9d586 100644
--- a/exercises/enums/enums3.rs
+++ b/exercises/enums/enums3.rs
@@ -38,6 +38,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 extra parentheses: fn function((t, u, p, l, e))
}
}
@@ -52,7 +53,7 @@ mod tests {
position: Point { x: 0, y: 0 },
color: (0, 0, 0),
};
- state.process(Message::ChangeColor((255, 0, 255))); // Remember: The extra parentheses mark a tuple type.
+ state.process(Message::ChangeColor(255, 0, 255));
state.process(Message::Echo(String::from("hello world")));
state.process(Message::Move(Point { x: 10, y: 15 }));
state.process(Message::Quit);