aboutsummaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-05-09 06:49:11 -0700
committerGitHub <noreply@github.com>2019-05-09 06:49:11 -0700
commite887edc70f0341cfbf37f646b6213d6fb6e00439 (patch)
tree63e2a9104a1c0ed297edd2ae41bd4536fde2ce0d /src/macros.rs
parent320464be3b014deaaf9387583862b1d4a69d89f8 (diff)
parent0fca4dd2d30a2044af454cf55211e67cf76f333c (diff)
downloadmilf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.tar.gz
milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.zip
Merge pull request #308 from ehuss/edition-2018
Migrate to 2018 edition
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs7
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"