]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/num/u16.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / libcore / num / u16.rs
index 34f80abaecc0580df9aae5866933ed5ebceff1e6..738071643b63963d1884914c1ed833c5c314d93c 100644 (file)
@@ -1,7 +1,10 @@
 //! The 16-bit unsigned integer type.
 //!
 //! *[See also the `u16` primitive type](../../std/primitive.u16.html).*
+//!
+//! Although using these constants won’t cause compilation warnings,
+//! new code should use the associated constants directly on the primitive type.
 
 #![stable(feature = "rust1", since = "1.0.0")]
 
-uint_module! { u16 }
+int_module! { u16 }