Skip to content

Commit 3632470

Browse files
committed
---
yaml --- r: 208887 b: refs/heads/master c: cf11c26 h: refs/heads/master i: 208885: 676ffbb 208883: 82356ab 208879: 0590b00 v: v3
1 parent c23c7c5 commit 3632470

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 3241b487fdcacf26ef7056e1a51d5220f66eafc2
2+
refs/heads/master: cf11c261f0a1293a71ab0d579f4047525dbf8cef
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f

trunk/src/libcore/num/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,9 +1362,9 @@ pub trait Float {
13621362
}
13631363

13641364
macro_rules! from_str_float_impl {
1365-
($T:ident) => {
1365+
($t:ty) => {
13661366
#[stable(feature = "rust1", since = "1.0.0")]
1367-
impl FromStr for $T {
1367+
impl FromStr for $t {
13681368
type Err = ParseFloatError;
13691369

13701370
/// Converts a string in base 10 to a float.
@@ -1405,10 +1405,10 @@ from_str_float_impl!(f32);
14051405
from_str_float_impl!(f64);
14061406

14071407
macro_rules! from_str_radix_int_impl {
1408-
($($T:ident)*) => {$(
1408+
($($t:ty)*) => {$(
14091409
#[stable(feature = "rust1", since = "1.0.0")]
14101410
#[allow(deprecated)]
1411-
impl FromStr for $T {
1411+
impl FromStr for $t {
14121412
type Err = ParseIntError;
14131413
fn from_str(src: &str) -> Result<Self, ParseIntError> {
14141414
from_str_radix(src, 10)
@@ -1428,7 +1428,7 @@ trait FromStrRadixHelper: PartialOrd + Copy {
14281428
}
14291429

14301430
macro_rules! doit {
1431-
($($t:ident)*) => ($(impl FromStrRadixHelper for $t {
1431+
($($t:ty)*) => ($(impl FromStrRadixHelper for $t {
14321432
fn min_value() -> Self { Self::min_value() }
14331433
fn from_u32(u: u32) -> Self { u as Self }
14341434
fn checked_mul(&self, other: u32) -> Option<Self> {

0 commit comments

Comments
 (0)