diff --git a/lib/std/collections/enummap.c3 b/lib/std/collections/enummap.c3 index 2271f5498..9338b0d9d 100644 --- a/lib/std/collections/enummap.c3 +++ b/lib/std/collections/enummap.c3 @@ -1,3 +1,6 @@ +/** + * @require Enum.kindof == TypeKind.ENUM : "Only enums may be used with an enummap" + **/ module std::collections::enummap(); import std::io; struct EnumMap (Printable) diff --git a/lib/std/collections/enumset.c3 b/lib/std/collections/enumset.c3 index 00711b89f..e99435e1b 100644 --- a/lib/std/collections/enumset.c3 +++ b/lib/std/collections/enumset.c3 @@ -3,7 +3,7 @@ // a copy of which can be found in the LICENSE_STDLIB file. /** - * @require Enum.kindof == TypeKind.ENUM : "Only enums maybe be used with an enumset" + * @require Enum.kindof == TypeKind.ENUM : "Only enums may be used with an enumset" **/ module std::collections::enumset(); import std::io;