From 6d736d69c48bc5b384dc9abbbf3325d3bd99f3a6 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Wed, 12 Jul 2023 18:43:02 +0200 Subject: [PATCH] Fix typo in enums.md (#958) From #779. --- src/enums.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enums.md b/src/enums.md index 630233e1..ed59fdd4 100644 --- a/src/enums.md +++ b/src/enums.md @@ -34,7 +34,7 @@ fn main() { Key Points: * Enumerations allow you to collect a set of values under one type -* This page offers an enum type `CoinFlip` with two variants `Heads` and `Tail`. You might note the namespace when using variants. +* This page offers an enum type `CoinFlip` with two variants `Heads` and `Tails`. You might note the namespace when using variants. * This might be a good time to compare Structs and Enums: * In both, you can have a simple version without fields (unit struct) or one with different types of fields (variant payloads). * In both, associated functions are defined within an `impl` block.