aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-05-15 14:30:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-05-15 14:30:18 -0700
commit7aa2594fb0ccd528087a492d1497f3af580bdb54 (patch)
treef15c897c58f72d18cfa25a048af17bb327f2d5ad /examples
parenta5bec3fc29be82f68188d8cbdf6d5fa5971aa063 (diff)
downloadmilf-rs-7aa2594fb0ccd528087a492d1497f3af580bdb54.tar.gz
milf-rs-7aa2594fb0ccd528087a492d1497f3af580bdb54.zip
Add `extern crate serde` to examples/decode.rs
Closes #176
Diffstat (limited to 'examples')
-rw-r--r--examples/decode.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/decode.rs b/examples/decode.rs
index 8390e15..e15da79 100644
--- a/examples/decode.rs
+++ b/examples/decode.rs
@@ -1,11 +1,10 @@
//! An example showing off the usage of `Deserialize` to automatically decode
//! TOML into a Rust `struct`
-//!
-//! Note that this works similarly with `serde` as well.
#![deny(warnings)]
extern crate toml;
+extern crate serde;
#[macro_use]
extern crate serde_derive;