From: Manish Goregaokar Date: Tue, 3 Mar 2015 08:42:05 +0000 (+0530) Subject: Rollup merge of #22916 - rprichard:fmt-num-cleanup, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=63a91c21d339738d2ed46e38fda7ca35b410935a;p=rust.git Rollup merge of #22916 - rprichard:fmt-num-cleanup, r=alexcrichton * Make num::UpperHex private. I was unable to determine why this struct is public. The num module itself is not public, and the UpperHex struct is not referenced anywhere in the core::fmt module. (Only the UpperHex trait is reference.) num::LowerHex is not public. * Remove the suffix parameters from the macros that generate integral display traits. The code to print the Debug::fmt suffixes was removed when Show was renamed to Debug. It was an intentional change. From RFC 0565: * Focus on the *runtime* aspects of a type; repeating information such as suffixes for integer literals is not generally useful since that data is readily available from the type definition. * Because Show was renamed to Debug, rename show! to debug!. --- 63a91c21d339738d2ed46e38fda7ca35b410935a