diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-03-07 14:38:36 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-03-11 22:09:58 -0800 |
| commit | 3dd8b3ec9b66915dd33d7c5f9af7fbdc2dfea391 (patch) | |
| tree | ea1ae9ea7e275387a8f897b06e0a7c448f638db8 /src/liballoc | |
| parent | f1d6f126effd61c21c2134751b75b6e8924d65e3 (diff) | |
| download | rust-3dd8b3ec9b66915dd33d7c5f9af7fbdc2dfea391.tar.gz rust-3dd8b3ec9b66915dd33d7c5f9af7fbdc2dfea391.zip | |
alloc: Add unstable issue for FnBox APIs
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index a7cd59d4dfe..7bdf9eaccc3 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -525,14 +525,14 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {} /// } /// ``` #[rustc_paren_sugar] -#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")] +#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")] pub trait FnBox<A> { type Output; fn call_box(self: Box<Self>, args: A) -> Self::Output; } -#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")] +#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")] impl<A, F> FnBox<A> for F where F: FnOnce<A> { type Output = F::Output; @@ -542,7 +542,7 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A> } } -#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")] +#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")] impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> { type Output = R; @@ -551,7 +551,7 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> { } } -#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "0")] +#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")] impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + Send + 'a> { type Output = R; |
