impl Serialize and Deserialize for std::num::NonZero*

… gated on the `unstable` Cargo feature.

These are new standard library types.
This commit is contained in:
Simon Sapin
2018-03-24 10:39:40 +01:00
committed by David Tolnay
parent 2b18b57d84
commit 05b22a06d7
5 changed files with 67 additions and 0 deletions
+1
View File
@@ -94,6 +94,7 @@
//! - PathBuf
//! - Range\<T\>
//! - NonZero\<T\> (unstable)
//! - num::NonZero* (unstable)
//! - **Net types**:
//! - IpAddr
//! - Ipv4Addr