about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorRyan Prichard <ryan.prichard@gmail.com>2015-02-28 19:30:06 -0800
committerRyan Prichard <ryan.prichard@gmail.com>2015-02-28 19:30:06 -0800
commitc1c02d9b0b1857136275b86e6064085a8278ce72 (patch)
treec900e9e248d52c2e7dde4a1d4e7f5a5d4b7b1bbf /src/test/codegen/stack-alloc-string-slice.cc
parent890293655251c372ea99694c0c9f0795e2663286 (diff)
downloadrust-c1c02d9b0b1857136275b86e6064085a8278ce72.tar.gz
rust-c1c02d9b0b1857136275b86e6064085a8278ce72.zip
Cleanup in the fmt::num module
 * 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!.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions