]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/num/u32.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / libcore / num / u32.rs
index 5fd486f5466085c0a2183f410641d4713c225216..9800c9099748fece634361a65ec82b83b0587e72 100644 (file)
@@ -1,7 +1,10 @@
 //! The 32-bit unsigned integer type.
 //!
 //! *[See also the `u32` primitive type](../../std/primitive.u32.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! { u32 }
+int_module! { u32 }