Skip to content

Commit 7a737d5

Browse files
committed
Auto merge of #31663 - nodakai:cleanup-uint_module, r=alexcrichton
2 parents 7ce4afb + e03cea4 commit 7a737d5

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/libcore/num/u16.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

17-
uint_module! { u16, i16, 16 }
17+
uint_module! { u16, 16 }

src/libcore/num/u32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

17-
uint_module! { u32, i32, 32 }
17+
uint_module! { u32, 32 }

src/libcore/num/u64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

17-
uint_module! { u64, i64, 64 }
17+
uint_module! { u64, 64 }

src/libcore/num/u8.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

17-
uint_module! { u8, i8, 8 }
17+
uint_module! { u8, 8 }

src/libcore/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#![doc(hidden)]
1212

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

1515
#[unstable(feature = "num_bits_bytes",
1616
reason = "may want to be an associated function",

src/libcore/num/usize.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

1717
#[cfg(target_pointer_width = "32")]
18-
uint_module! { usize, isize, 32 }
18+
uint_module! { usize, 32 }
1919
#[cfg(target_pointer_width = "64")]
20-
uint_module! { usize, isize, 64 }
20+
uint_module! { usize, 64 }

0 commit comments

Comments
 (0)