docs: Fix typo on language-guide.md

This commit is contained in:
Donald Bakong
2019-10-17 23:53:28 -04:00
parent 0fa3d6c462
commit dbf84f6879

View File

@@ -54,7 +54,7 @@ can be impossible to infer the item's type.
An unordered set of unique keys of the same type and corresponding value pairs An unordered set of unique keys of the same type and corresponding value pairs
of another type, eg: of another type, eg:
`{"boiling" => 100, "freezing" => 0, "room" => "25", "house" => 22, "canada" => -30,}`. `{"boiling" => 100, "freezing" => 0, "room" => 25, "house" => 22, "canada" => -30,}`.
That is to say, all of the keys must have the same type, and all of the values That is to say, all of the keys must have the same type, and all of the values
must have the same type. You can use any type for either, although it is must have the same type. You can use any type for either, although it is
probably advisable to avoid using very complex types as map keys. probably advisable to avoid using very complex types as map keys.