File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
branches/snap-stage3/src/libcore/num Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 3241b487fdcacf26ef7056e1a51d5220f66eafc2
4
+ refs/heads/snap-stage3: cf11c261f0a1293a71ab0d579f4047525dbf8cef
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -1362,9 +1362,9 @@ pub trait Float {
1362
1362
}
1363
1363
1364
1364
macro_rules! from_str_float_impl {
1365
- ( $T : ident ) => {
1365
+ ( $t : ty ) => {
1366
1366
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1367
- impl FromStr for $T {
1367
+ impl FromStr for $t {
1368
1368
type Err = ParseFloatError ;
1369
1369
1370
1370
/// Converts a string in base 10 to a float.
@@ -1405,10 +1405,10 @@ from_str_float_impl!(f32);
1405
1405
from_str_float_impl ! ( f64 ) ;
1406
1406
1407
1407
macro_rules! from_str_radix_int_impl {
1408
- ( $( $T : ident ) * ) => { $(
1408
+ ( $( $t : ty ) * ) => { $(
1409
1409
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1410
1410
#[ allow( deprecated) ]
1411
- impl FromStr for $T {
1411
+ impl FromStr for $t {
1412
1412
type Err = ParseIntError ;
1413
1413
fn from_str( src: & str ) -> Result <Self , ParseIntError > {
1414
1414
from_str_radix( src, 10 )
@@ -1428,7 +1428,7 @@ trait FromStrRadixHelper: PartialOrd + Copy {
1428
1428
}
1429
1429
1430
1430
macro_rules! doit {
1431
- ( $( $t: ident ) * ) => ( $( impl FromStrRadixHelper for $t {
1431
+ ( $( $t: ty ) * ) => ( $( impl FromStrRadixHelper for $t {
1432
1432
fn min_value( ) -> Self { Self :: min_value( ) }
1433
1433
fn from_u32( u: u32 ) -> Self { u as Self }
1434
1434
fn checked_mul( & self , other: u32 ) -> Option <Self > {
You can’t perform that action at this time.
0 commit comments