From 8cb4d8671afecdcfd2432e08c8f43673ce51f67d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 17 Aug 2015 13:23:36 -0700 Subject: std: Clean up primitive integer modules All of the modules in the standard library were just straight reexports of those in libcore, so remove all the "macro modules" from the standard library and just reexport what's in core directly. --- src/libstd/num/u16.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/libstd/num/u16.rs (limited to 'src/libstd/num/u16.rs') diff --git a/src/libstd/num/u16.rs b/src/libstd/num/u16.rs deleted file mode 100644 index 893618aeffa..00000000000 --- a/src/libstd/num/u16.rs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -//! The 16-bit unsigned integer type. -//! -//! *[See also the `u16` primitive type](../primitive.u16.html).* - -#![stable(feature = "rust1", since = "1.0.0")] - -pub use core::u16::{BITS, BYTES, MIN, MAX}; - -uint_module! { u16 } -- cgit 1.4.1-3-g733a5