diff options
Diffstat (limited to 'src/macros.rs')
-rw-r--r-- | src/macros.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/macros.rs b/src/macros.rs index 57fdabb..0731afe 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -1,17 +1,14 @@ pub use serde::de::{Deserialize, IntoDeserializer}; -use value::{Array, Table, Value}; +use crate::value::{Array, Table, Value}; /// Construct a [`toml::Value`] from TOML syntax. /// /// [`toml::Value`]: value/enum.Value.html /// /// ```rust -/// #[macro_use] -/// extern crate toml; -/// /// fn main() { -/// let cargo_toml = toml! { +/// let cargo_toml = toml::toml! { /// [package] /// name = "toml" /// version = "0.4.5" |