From 2a5713ed5c129977c4c3880f633f9fce35813ab1 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 3 Dec 2012 17:28:19 -0800 Subject: [PATCH] core: rename unit to nil. Close #4080. --- src/libcore/core.rc | 2 +- src/libcore/{unit.rs => nil.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/libcore/{unit.rs => nil.rs} (100%) diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 142cd234bc611..13735d4fa9741 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -82,7 +82,7 @@ pub mod float; pub mod f32; pub mod f64; -pub mod unit; +pub mod nil; pub mod bool; pub mod char; pub mod tuple; diff --git a/src/libcore/unit.rs b/src/libcore/nil.rs similarity index 100% rename from src/libcore/unit.rs rename to src/libcore/nil.rs