diff options
Diffstat (limited to 'library/core/src/num/shells/usize.rs')
-rw-r--r-- | library/core/src/num/shells/usize.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/library/core/src/num/shells/usize.rs b/library/core/src/num/shells/usize.rs new file mode 100644 index 000000000..3e1bec5ec --- /dev/null +++ b/library/core/src/num/shells/usize.rs @@ -0,0 +1,13 @@ +//! Constants for the pointer-sized unsigned integer type. +//! +//! *[See also the `usize` primitive type][usize].* +//! +//! New code should use the associated constants directly on the primitive type. + +#![stable(feature = "rust1", since = "1.0.0")] +#![deprecated( + since = "TBD", + note = "all constants in this module replaced by associated constants on `usize`" +)] + +int_module! { usize } |