File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 252ef28593458b2479735b4f85c8568bb0f0a3d5
4
+ refs/heads/try: edf933538bc508052320889f9c05f24d75dd6b07
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -1514,7 +1514,8 @@ impl ParseIntError {
1514
1514
#[ unstable( feature = "int_error_internals" ,
1515
1515
reason = "available through Error trait and this method should \
1516
1516
not be exposed publicly") ]
1517
- pub fn description ( & self ) -> & str {
1517
+ #[ doc( hidden) ]
1518
+ pub fn __description ( & self ) -> & str {
1518
1519
match self . kind {
1519
1520
IntErrorKind :: Empty => "cannot parse integer from empty string" ,
1520
1521
IntErrorKind :: InvalidDigit => "invalid digit found in string" ,
@@ -1527,7 +1528,7 @@ impl ParseIntError {
1527
1528
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1528
1529
impl fmt:: Display for ParseIntError {
1529
1530
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1530
- self . description ( ) . fmt ( f)
1531
+ self . __description ( ) . fmt ( f)
1531
1532
}
1532
1533
}
1533
1534
@@ -1544,6 +1545,7 @@ pub struct ParseFloatError {
1544
1545
#[ derive( Debug , Clone , PartialEq ) ]
1545
1546
#[ unstable( feature = "float_error_internals" ,
1546
1547
reason = "should not be exposed publicly" ) ]
1548
+ #[ doc( hidden) ]
1547
1549
pub enum FloatErrorKind {
1548
1550
Empty ,
1549
1551
Invalid ,
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ impl Error for str::Utf8Error {
140
140
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
141
141
impl Error for num:: ParseIntError {
142
142
fn description ( & self ) -> & str {
143
- self . description ( )
143
+ self . __description ( )
144
144
}
145
145
}
146
146
You can’t perform that action at this time.
0 commit comments