about summary refs log tree commit diff
path: root/src/libstd/num/u16.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-05-12 21:14:40 -0400
committerAlex Crichton <alex@alexcrichton.com>2013-05-24 15:31:34 -0500
commitec8fb884e94975ed6d82a4cc0ea0a064a4b7155f (patch)
treeda60056094a97e33f736fb620a09bd12e361dcd3 /src/libstd/num/u16.rs
parentb5ab1012f1f5786f550e511ba1302a22c85fcd71 (diff)
downloadrust-ec8fb884e94975ed6d82a4cc0ea0a064a4b7155f.tar.gz
rust-ec8fb884e94975ed6d82a4cc0ea0a064a4b7155f.zip
Remove usage of the #[merge] hack with int modules
Diffstat (limited to 'src/libstd/num/u16.rs')
-rw-r--r--src/libstd/num/u16.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libstd/num/u16.rs b/src/libstd/num/u16.rs
new file mode 100644
index 00000000000..3a4c2420f9e
--- /dev/null
+++ b/src/libstd/num/u16.rs
@@ -0,0 +1,14 @@
+// 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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+//! Operations and constants for `u16`
+
+pub use self::generated::*;
+uint_module!(u16, i16, 16)