diff options
author | Eric Huss <eric@huss.org> | 2019-05-08 17:37:38 -0700 |
---|---|---|
committer | Eric Huss <eric@huss.org> | 2019-05-08 17:37:38 -0700 |
commit | 6c162e6562c3e432bf04c82a3d1d789d80761a86 (patch) | |
tree | 5b8b428c5408cb138f5a3674ad33ba8dcb71b460 /examples/decode.rs | |
parent | 1b016589133e48d34dd5ae1b440581ded4cb4cdb (diff) | |
download | milf-rs-6c162e6562c3e432bf04c82a3d1d789d80761a86.tar.gz milf-rs-6c162e6562c3e432bf04c82a3d1d789d80761a86.zip |
2018 edition idioms.
Diffstat (limited to 'examples/decode.rs')
-rw-r--r-- | examples/decode.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/decode.rs b/examples/decode.rs index e8ce586..b5d6a99 100644 --- a/examples/decode.rs +++ b/examples/decode.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. Each field is optional, meaning /// that it doesn't have to be present in TOML. |