Skip to content

Commit 8581930

Browse files
authored
docs(TOML): Add compat admonition about inline_tables keyword (#59291)
1 parent f442423 commit 8581930

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/TOML/src/TOML.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ Write `data` as TOML syntax to the stream `io`. If the keyword argument `sorted`
127127
sort tables according to the function given by the keyword argument `by`. If the keyword argument
128128
`inline_tables` is given, it should be a set of tables that should be printed "inline".
129129
130+
!!! compat "Julia 1.11"
131+
The `inline_tables` keyword argument is supported by Julia 1.11 or later.
132+
130133
The following data types are supported: `AbstractDict`, `AbstractVector`, `AbstractString`, `Integer`, `AbstractFloat`, `Bool`,
131134
`Dates.DateTime`, `Dates.Time`, `Dates.Date`. Note that the integers and floats
132135
need to be convertible to `Float64` and `Int64` respectively. For other data types,

0 commit comments

Comments
 (0)