From cb46b7fb714d5b1d0d5c1077d437325915f07e1f Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Fri, 17 Mar 2023 17:23:26 +0100 Subject: [PATCH] Update item-patterns-and-struct-else.md --- content/posts/item-patterns-and-struct-else.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }