Skip to content

Commit

Permalink
Small change to entries vs keys
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam authored Jan 30, 2024
1 parent 2c6c05b commit 3bb0bde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/toml/src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ use crate::map::Map;
use crate::Value;

/// Type representing a TOML table, payload of the `Value::Table` variant.
/// By default it is backed by an map storing keys in
/// [lexicographic order](https://doc.rust-lang.org/std/primitive.str.html#impl-Ord-for-str).
/// Enable the `preserve_order` feature to use a backing map that stores
/// entries in the order they appear in the source file.
/// By default it is backed by an map storing entries in
/// [lexicographic order](https://doc.rust-lang.org/std/primitive.str.html#impl-Ord-for-str)
/// of the keys. Enable the `preserve_order` feature to use a backing map
/// that stores entries in the order they appear in the source file.
pub type Table = Map<String, Value>;

impl Table {
Expand Down

0 comments on commit 3bb0bde

Please sign in to comment.