Skip to content

Commit

Permalink
Explicitly mention arrays are ordered
Browse files Browse the repository at this point in the history
Kind-of obvious, but doesn't hurt to explicitly mention it, as it adds
just one word. Rephrased slightly for clarity.

Fixes toml-lang#1027
  • Loading branch information
arp242 committed May 17, 2024
1 parent 2431aa3 commit 6d0c5c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,9 +641,9 @@ rounded.

## Array

Arrays are square brackets with values inside. Whitespace is ignored. Elements
are separated by commas. Arrays can contain values of the same data types as
allowed in key/value pairs. Values of different types may be mixed.
Arrays are ordered values surrounded by square brackets. Whitespace is ignored.
Elements are separated by commas. Arrays can contain values of the same data
types as allowed in key/value pairs. Values of different types may be mixed.

```toml
integers = [ 1, 2, 3 ]
Expand Down

0 comments on commit 6d0c5c6

Please sign in to comment.