diff options
| author | Josh Stone <jistone@redhat.com> | 2020-05-26 14:15:29 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-05-29 17:05:17 -0700 |
| commit | a51b22a9fda2fff37b17ad7b7fa516b3385089a9 (patch) | |
| tree | 03eeb54e5c14e6035b49684c71d5a83c6c66482e | |
| parent | 10efaa37de8411272de3623ce50714d4860dc561 (diff) | |
| download | rust-a51b22a9fda2fff37b17ad7b7fa516b3385089a9.tar.gz rust-a51b22a9fda2fff37b17ad7b7fa516b3385089a9.zip | |
Add extend_one tracking issue 72631
| -rw-r--r-- | src/libcore/iter/traits/collect.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/iter/traits/collect.rs b/src/libcore/iter/traits/collect.rs index 4a90aca1485..9d20022b6ed 100644 --- a/src/libcore/iter/traits/collect.rs +++ b/src/libcore/iter/traits/collect.rs @@ -343,7 +343,7 @@ pub trait Extend<A> { fn extend<T: IntoIterator<Item = A>>(&mut self, iter: T); /// Extends a collection with exactly one element. - #[unstable(feature = "extend_one", issue = "none")] + #[unstable(feature = "extend_one", issue = "72631")] fn extend_one(&mut self, item: A) { self.extend(Some(item)); } @@ -351,7 +351,7 @@ pub trait Extend<A> { /// Reserves capacity in a collection for the given number of additional elements. /// /// The default implementation does nothing. - #[unstable(feature = "extend_one", issue = "none")] + #[unstable(feature = "extend_one", issue = "72631")] fn extend_reserve(&mut self, additional: usize) { let _ = additional; } |
