From a4fd0b16117312818d82f083d2158600a6160f76 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 23 Jan 2023 12:08:27 -0600 Subject: [PATCH] docs(toml): Update map documentation --- crates/toml/src/map.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/toml/src/map.rs b/crates/toml/src/map.rs index d130a1d5..5b3ff19b 100644 --- a/crates/toml/src/map.rs +++ b/crates/toml/src/map.rs @@ -6,13 +6,13 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! A map of String to toml::Value. +//! A map of `String` to [Value]. //! //! By default the map is backed by a [`BTreeMap`]. Enable the `preserve_order` -//! feature of toml-rs to use [`LinkedHashMap`] instead. +//! feature of toml-rs to use [`IndexMap`] instead. //! //! [`BTreeMap`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html -//! [`LinkedHashMap`]: https://docs.rs/linked-hash-map/*/linked_hash_map/struct.LinkedHashMap.html +//! [`IndexMap`]: https://docs.rs/indexmap use crate::value::Value; use serde::{de, ser};