From ce95ec22f6e034bcec2b16b902104b876d9b28b9 Mon Sep 17 00:00:00 2001 From: Nishanth Shanmugham Date: Tue, 6 Sep 2022 19:45:14 +0530 Subject: [PATCH] fix flag typo in docs --- exhaustive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exhaustive.go b/exhaustive.go index bbef6b2..8ec80e0 100644 --- a/exhaustive.go +++ b/exhaustive.go @@ -56,7 +56,7 @@ even if the switch statement has a 'default' case). All of the above also applies to map literals in which the key type is an enum type. Empty map literals are never checked. The -check flag must include -"maps" for map literals to be checked. +"map" for map literals to be checked. # Type aliases