diff options
Diffstat (limited to 'src/spanned.rs')
-rw-r--r-- | src/spanned.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/spanned.rs b/src/spanned.rs index 9ee56ae..6c49eb9 100644 --- a/src/spanned.rs +++ b/src/spanned.rs @@ -4,16 +4,16 @@ use std::cmp::Ordering; use std::fmt; use std::hash::{Hash, Hasher}; -pub(crate) const NAME: &str = "$__toml_private_Spanned"; -pub(crate) const START: &str = "$__toml_private_start"; -pub(crate) const END: &str = "$__toml_private_end"; -pub(crate) const VALUE: &str = "$__toml_private_value"; +pub(crate) const NAME: &str = "$__milf_private_Spanned"; +pub(crate) const START: &str = "$__milf_private_start"; +pub(crate) const END: &str = "$__milf_private_end"; +pub(crate) const VALUE: &str = "$__milf_private_value"; /// A spanned value, indicating the range at which it is defined in the source. /// /// ``` /// use serde_derive::Deserialize; -/// use toml::Spanned; +/// use milf::Spanned; /// /// #[derive(Deserialize)] /// struct Value { @@ -23,7 +23,7 @@ pub(crate) const VALUE: &str = "$__toml_private_value"; /// fn main() { /// let t = "s = \"value\"\n"; /// -/// let u: Value = toml::from_str(t).unwrap(); +/// let u: Value = milf::from_str(t).unwrap(); /// /// assert_eq!(u.s.start(), 4); /// assert_eq!(u.s.end(), 11); @@ -122,7 +122,7 @@ where type Value = Spanned<T>; fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { - formatter.write_str("a TOML spanned") + formatter.write_str("a MILF spanned") } fn visit_map<V>(self, mut visitor: V) -> Result<Spanned<T>, V::Error> |