Skip to content

Commit

Permalink
Auto merge of #31663 - nodakai:cleanup-uint_module, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Feb 15, 2016
2 parents 7ce4afb + e03cea4 commit 7a737d5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/libcore/num/u16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
#![stable(feature = "rust1", since = "1.0.0")]

uint_module! { u16, i16, 16 }
uint_module! { u16, 16 }
2 changes: 1 addition & 1 deletion src/libcore/num/u32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
#![stable(feature = "rust1", since = "1.0.0")]

uint_module! { u32, i32, 32 }
uint_module! { u32, 32 }
2 changes: 1 addition & 1 deletion src/libcore/num/u64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
#![stable(feature = "rust1", since = "1.0.0")]

uint_module! { u64, i64, 64 }
uint_module! { u64, 64 }
2 changes: 1 addition & 1 deletion src/libcore/num/u8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
#![stable(feature = "rust1", since = "1.0.0")]

uint_module! { u8, i8, 8 }
uint_module! { u8, 8 }
2 changes: 1 addition & 1 deletion src/libcore/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#![doc(hidden)]

macro_rules! uint_module { ($T:ty, $T_SIGNED:ty, $bits:expr) => (
macro_rules! uint_module { ($T:ty, $bits:expr) => (

#[unstable(feature = "num_bits_bytes",
reason = "may want to be an associated function",
Expand Down
4 changes: 2 additions & 2 deletions src/libcore/num/usize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
#![stable(feature = "rust1", since = "1.0.0")]

#[cfg(target_pointer_width = "32")]
uint_module! { usize, isize, 32 }
uint_module! { usize, 32 }
#[cfg(target_pointer_width = "64")]
uint_module! { usize, isize, 64 }
uint_module! { usize, 64 }

0 comments on commit 7a737d5

Please sign in to comment.