Skip to content

Commit 964df45

Browse files
committed
---
yaml --- r: 227619 b: refs/heads/try c: edf9335 h: refs/heads/master i: 227617: 7dc9a38 227615: e46848f v: v3
1 parent d4de02a commit 964df45

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 252ef28593458b2479735b4f85c8568bb0f0a3d5
4+
refs/heads/try: edf933538bc508052320889f9c05f24d75dd6b07
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libcore/num/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,8 @@ impl ParseIntError {
15141514
#[unstable(feature = "int_error_internals",
15151515
reason = "available through Error trait and this method should \
15161516
not be exposed publicly")]
1517-
pub fn description(&self) -> &str {
1517+
#[doc(hidden)]
1518+
pub fn __description(&self) -> &str {
15181519
match self.kind {
15191520
IntErrorKind::Empty => "cannot parse integer from empty string",
15201521
IntErrorKind::InvalidDigit => "invalid digit found in string",
@@ -1527,7 +1528,7 @@ impl ParseIntError {
15271528
#[stable(feature = "rust1", since = "1.0.0")]
15281529
impl fmt::Display for ParseIntError {
15291530
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
1530-
self.description().fmt(f)
1531+
self.__description().fmt(f)
15311532
}
15321533
}
15331534

@@ -1544,6 +1545,7 @@ pub struct ParseFloatError {
15441545
#[derive(Debug, Clone, PartialEq)]
15451546
#[unstable(feature = "float_error_internals",
15461547
reason = "should not be exposed publicly")]
1548+
#[doc(hidden)]
15471549
pub enum FloatErrorKind {
15481550
Empty,
15491551
Invalid,

branches/try/src/libstd/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Error for str::Utf8Error {
140140
#[stable(feature = "rust1", since = "1.0.0")]
141141
impl Error for num::ParseIntError {
142142
fn description(&self) -> &str {
143-
self.description()
143+
self.__description()
144144
}
145145
}
146146

0 commit comments

Comments
 (0)