diff --git a/content/posts/item-patterns-and-struct-else.md b/content/posts/item-patterns-and-struct-else.md index 93ce61e..fe55b75 100644 --- a/content/posts/item-patterns-and-struct-else.md +++ b/content/posts/item-patterns-and-struct-else.md @@ -162,7 +162,7 @@ struct Household { parent: Ferris, child: Corro } = Household { Now we can nicely match on the `Household` struct containing the definition of the `Ferris` and `Corro` structs. This is equivalent to the following code: ```rust -struct Feris { +struct Ferris { name: String, }