We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 106d51f + 5381d7b commit 9db97b3Copy full SHA for 9db97b3
crates/toml/src/table.rs
@@ -7,8 +7,11 @@ use crate::map::Map;
7
use crate::Value;
8
9
/// Type representing a TOML table, payload of the `Value::Table` variant.
10
-/// By default it is backed by a BTreeMap, enable the `preserve_order` feature
11
-/// to use a LinkedHashMap instead.
+///
+/// By default it entries are stored in
12
+/// [lexicographic order](https://doc.rust-lang.org/std/primitive.str.html#impl-Ord-for-str)
13
+/// of the keys. Enable the `preserve_order` feature to store entries in the order they appear in
14
+/// the source file.
15
pub type Table = Map<String, Value>;
16
17
impl Table {
0 commit comments