diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-17 14:54:00 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2019-02-17 14:54:00 +0800 |
| commit | c65a82ab4ed6a4797c1d73b20a078f8d44b87e56 (patch) | |
| tree | 83a29a4b6513caf5d8ca82ed39a1f1388f5c7f09 | |
| parent | 4fcee62736b42449fd278058f10af74919b3019b (diff) | |
| parent | 3ba617751500f6ce07e8344bbc1b55baf73d340d (diff) | |
| download | rust-c65a82ab4ed6a4797c1d73b20a078f8d44b87e56.tar.gz rust-c65a82ab4ed6a4797c1d73b20a078f8d44b87e56.zip | |
Rollup merge of #58521 - sfackler:error-iter-issue, r=withoutboats
Fix tracking issue for error iterators
| -rw-r--r-- | src/libstd/error.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 6348b411a4c..ef8c97bebdf 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -718,7 +718,7 @@ impl dyn Error { /// ``` /// /// [`source`]: trait.Error.html#method.source - #[unstable(feature = "error_iter", issue = "58289")] + #[unstable(feature = "error_iter", issue = "58520")] #[inline] pub fn iter_chain(&self) -> ErrorIter { ErrorIter { @@ -793,7 +793,7 @@ impl dyn Error { /// /// [`source`]: trait.Error.html#method.source #[inline] - #[unstable(feature = "error_iter", issue = "58289")] + #[unstable(feature = "error_iter", issue = "58520")] pub fn iter_sources(&self) -> ErrorIter { ErrorIter { current: self.source(), @@ -804,13 +804,13 @@ impl dyn Error { /// An iterator over [`Error`] /// /// [`Error`]: trait.Error.html -#[unstable(feature = "error_iter", issue = "58289")] +#[unstable(feature = "error_iter", issue = "58520")] #[derive(Copy, Clone, Debug)] pub struct ErrorIter<'a> { current: Option<&'a (dyn Error + 'static)>, } -#[unstable(feature = "error_iter", issue = "58289")] +#[unstable(feature = "error_iter", issue = "58520")] impl<'a> Iterator for ErrorIter<'a> { type Item = &'a (dyn Error + 'static); |
