aboutsummaryrefslogtreecommitdiff
path: root/examples/enum_external.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/enum_external.rs')
-rw-r--r--examples/enum_external.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/enum_external.rs b/examples/enum_external.rs
index e2ac4f8..a7dd84a 100644
--- a/examples/enum_external.rs
+++ b/examples/enum_external.rs
@@ -3,9 +3,7 @@
#![deny(warnings)]
-extern crate toml;
-#[macro_use]
-extern crate serde_derive;
+use serde_derive::Deserialize;
/// This is what we're going to decode into.
#[derive(Debug, Deserialize)]