mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[crystal/de] Fix typo (#4952)
This commit is contained in:
parent
54f75e008b
commit
f930b9e6d0
@ -170,7 +170,7 @@ set << 3
|
||||
{1 => 2, 3 => 4}.class # => Hash(Int32, Int32)
|
||||
{1 => 2, 'a' => 3}.class # => Hash (Int32 | Char, Int32)
|
||||
|
||||
# Leere Hashes sollten einen Typen spezifieren
|
||||
# Leere Hashes sollten einen Typen spezifizieren
|
||||
{} # Syntaxfehler
|
||||
{} of Int32 => Int32 # {}
|
||||
Hash(Int32, Int32).new # {}
|
||||
|
Loading…
Reference in New Issue
Block a user