diff options
| author | bors <bors@rust-lang.org> | 2015-05-02 01:03:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-02 01:03:43 +0000 |
| commit | c42c1e7a678a27bb63c24fb1eca2866af4e3ab7a (patch) | |
| tree | a98ff8cd1eff1f432f1fcd8ddeb7ac74b1d5484d /src/libstd/error.rs | |
| parent | f6574c5b0404f55c4dd4056be47d37eff33684b5 (diff) | |
| parent | 12910418fbfd1da76cfc43ffa7a15d0b0c4acb5b (diff) | |
| download | rust-c42c1e7a678a27bb63c24fb1eca2866af4e3ab7a.tar.gz rust-c42c1e7a678a27bb63c24fb1eca2866af4e3ab7a.zip | |
Auto merge of #24792 - alexcrichton:issue-24748, r=alexcrichton
Ensures that the same error type is propagated throughout. Unnecessary leakage of the internals is prevented through the usage of stability attributes. Closes #24748
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 06e4d69818e..6d23df97000 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -147,7 +147,7 @@ impl Error for num::ParseIntError { #[stable(feature = "rust1", since = "1.0.0")] impl Error for num::ParseFloatError { fn description(&self) -> &str { - self.description() + self.__description() } } |
