Commit 0828aff2 authored by Mathieu Nivoliez's avatar Mathieu Nivoliez

Update 2018-04-01-getting-started-with-rust-enum-on-steroids.md

parent 43c2db37
......@@ -30,8 +30,8 @@ We are now able to use it as this:
fn take_care_of_dog(kind: DogKind) {
match kind {
DogKind::Doggo => take_care_of_doggo(),
DogKind::Doge => take_care_of_doggo(),
DogKind::Pupper => take_care_of_doggo(),
DogKind::Doge => take_care_of_doge(),
DogKind::Pupper => take_care_of_pupper(),
}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment