Add 12 num::NonZero* types for each primitive integer

RFC: https://github.com/rust-lang/rfcs/pull/2307
This commit is contained in:
Simon Sapin
2018-02-16 10:39:24 +01:00
parent adf2135adc
commit f40877feeb
4 changed files with 100 additions and 1 deletions

View File

@@ -282,6 +282,7 @@
#![feature(macro_vis_matcher)]
#![feature(needs_panic_runtime)]
#![feature(exhaustive_patterns)]
#![feature(nonzero)]
#![feature(num_bits_bytes)]
#![feature(old_wrapping)]
#![feature(on_unimplemented)]