summaryrefslogtreecommitdiffhomepage
path: root/crystal.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'crystal.html.markdown')
-rw-r--r--crystal.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.html.markdown b/crystal.html.markdown
index 97375f9b..1449ff81 100644
--- a/crystal.html.markdown
+++ b/crystal.html.markdown
@@ -110,7 +110,7 @@ sentence == "question?" #=> false : Bool
[1, 2, 3].class #=> Array(Int32)
[1, "hello", 'x'].class #=> Array(Int32 | String | Char)
-# Empty arrays should define a type
+# Empty arrays should specify a type
[] # Syntax error: for empty arrays use '[] of ElementType'
[] of Int32 #=> [] : Array(Int32)
Array(Int32).new #=> [] : Array(Int32)