Skip to content

Commit

Permalink
No need for pub use in private module
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 28, 2017
1 parent 5df9d32 commit 6b17c36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/value/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ use serde::de::{
Unexpected
};

use super::Value;

use error::Error;
pub use map::Map;
pub use number::Number;
use map::Map;
use number::Number;
use value::Value;

impl<'de> Deserialize<'de> for Value {
#[inline]
Expand Down
6 changes: 3 additions & 3 deletions src/value/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

use serde::{self, Serialize};

use super::{Value, to_value};
pub use map::Map;
use error::{Error, ErrorCode};
pub use number::Number;
use map::Map;
use number::Number;
use value::{Value, to_value};

impl Serialize for Value {
#[inline]
Expand Down

0 comments on commit 6b17c36

Please # to comment.