mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-10-02 09:16:56 +02:00
[crystal/de] Fix typo (#4952)
This commit is contained in:
@@ -170,7 +170,7 @@ set << 3
|
|||||||
{1 => 2, 3 => 4}.class # => Hash(Int32, Int32)
|
{1 => 2, 3 => 4}.class # => Hash(Int32, Int32)
|
||||||
{1 => 2, 'a' => 3}.class # => Hash (Int32 | Char, Int32)
|
{1 => 2, 'a' => 3}.class # => Hash (Int32 | Char, Int32)
|
||||||
|
|
||||||
# Leere Hashes sollten einen Typen spezifieren
|
# Leere Hashes sollten einen Typen spezifizieren
|
||||||
{} # Syntaxfehler
|
{} # Syntaxfehler
|
||||||
{} of Int32 => Int32 # {}
|
{} of Int32 => Int32 # {}
|
||||||
Hash(Int32, Int32).new # {}
|
Hash(Int32, Int32).new # {}
|
||||||
|
Reference in New Issue
Block a user