about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-12-26 18:27:30 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-12-26 20:54:10 +0100
commit7a0911528058e87d22ea305695f4047572c5e067 (patch)
tree0e317b6ea9abbc753a3429cd9175e2802c5a6cb1 /src/libcore/lib.rs
parent79d8a0fcefa5134db2a94739b1d18daa01fc6e9f (diff)
downloadrust-7a0911528058e87d22ea305695f4047572c5e067.tar.gz
rust-7a0911528058e87d22ea305695f4047572c5e067.zip
Remove the private generic NonZero<T> wrapper type.
Instead, use `#[rustc_layout_scalar_valid_range_start(1)]` directly
on relevant libcore types.
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 088a00a6c0d..5ea765d3585 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -216,7 +216,6 @@ pub mod alloc;
 
 // note: does not need to be public
 mod iter_private;
-mod nonzero;
 mod tuple;
 mod unit;