1
Fork 0

Fix build, add a comment.

This commit is contained in:
Alex Helfet 2017-12-25 02:43:54 +00:00
parent c1a850f1f1
commit c1233bbfdf
2 changed files with 4 additions and 2 deletions

View file

@ -90,7 +90,7 @@ extern crate ref_slice;
extern crate serde;
#[macro_use]
#[cfg(test)]
#[cfg(all(test, feature = "typed"))]
extern crate serde_derive;
#[cfg(feature = "typed")]
@ -105,7 +105,7 @@ pub mod error;
#[allow(unused_imports)]
use error::{Error, Result};
#[cfg(feature = "typed")]
#[cfg(all(feature = "typed", feature = "use_std"))]
pub mod typed;
// ## use statements

View file

@ -1,4 +1,6 @@
//! Sending and receiving structs serialized with serde.
//!
//! This module currently requires `std`, the standard library.
use error::{Result};
use serde::Serialize;