From 77656676dac90e4ab6a09ea971f535a96d527085 Mon Sep 17 00:00:00 2001 From: Mike van Lammeren Date: Wed, 9 Sep 2020 12:31:18 -0400 Subject: [PATCH] Fixed typo in README Need "inactive" key and value to match. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b68b670..786db2e 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ defenum StatusEnum, registered: 0, active: 1, inactive: 2, archived: 3 Note that we can also use string-backed enums by doing the following: ```elixir -defenum StatusEnum, registered: "registered", active: "active", inactive: "active", archived: "archived" +defenum StatusEnum, registered: "registered", active: "active", inactive: "inactive", archived: "archived" # short-cut way of using string-backed enums defenum StatusEnum, ["registered", "active", "inactive", "archived"] ```