diff options
Diffstat (limited to 'src/map.rs')
-rw-r--r-- | src/map.rs | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -6,10 +6,10 @@ // 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 milf::Value. //! //! By default the map is backed by a [`BTreeMap`]. Enable the `preserve_order` -//! feature of toml-rs to use [`LinkedHashMap`] instead. +//! feature of milf-rs to use [`LinkedHashMap`] 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 @@ -28,7 +28,7 @@ use std::collections::{btree_map, BTreeMap}; #[cfg(feature = "preserve_order")] use indexmap::{self, IndexMap}; -/// Represents a TOML key/value type. +/// Represents a MILF key/value type. pub struct Map<K, V> { map: MapImpl<K, V>, } @@ -504,7 +504,7 @@ impl<'a> IntoIterator for &'a Map<String, Value> { } } -/// An iterator over a toml::Map's entries. +/// An iterator over a milf::Map's entries. pub struct Iter<'a> { iter: IterImpl<'a>, } @@ -529,7 +529,7 @@ impl<'a> IntoIterator for &'a mut Map<String, Value> { } } -/// A mutable iterator over a toml::Map's entries. +/// A mutable iterator over a milf::Map's entries. pub struct IterMut<'a> { iter: IterMutImpl<'a>, } @@ -554,7 +554,7 @@ impl IntoIterator for Map<String, Value> { } } -/// An owning iterator over a toml::Map's entries. +/// An owning iterator over a milf::Map's entries. pub struct IntoIter { iter: IntoIterImpl, } @@ -568,7 +568,7 @@ delegate_iterator!((IntoIter) => (String, Value)); ////////////////////////////////////////////////////////////////////////////// -/// An iterator over a toml::Map's keys. +/// An iterator over a milf::Map's keys. pub struct Keys<'a> { iter: KeysImpl<'a>, } @@ -582,7 +582,7 @@ delegate_iterator!((Keys<'a>) => &'a String); ////////////////////////////////////////////////////////////////////////////// -/// An iterator over a toml::Map's values. +/// An iterator over a milf::Map's values. pub struct Values<'a> { iter: ValuesImpl<'a>, } |