Skip to content

Commit

Permalink
Move std::fmt import into submodule
Browse files Browse the repository at this point in the history
In examples/serialize was an import for std::fmt which
is only needed for the serialize feature.
  • Loading branch information
torkleyy committed Apr 20, 2017
1 parent 3e1acd6 commit f2bef5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ extern crate serde;
extern crate serde_derive;
extern crate serde_json;

use std::fmt;

#[cfg(feature="serialize")]
mod s {
use serde::{self, Serialize};
Expand Down

0 comments on commit f2bef5d

Please sign in to comment.