about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>2021-05-27 13:29:37 +0200
committerGitHub <noreply@github.com>2021-05-27 13:29:37 +0200
commit72c109e65c6bf75b4cdd0ef309bbd37e63474eba (patch)
treef963292c631c837a0f507e4d73cf595aee2a1ab3
parentb906953d59530a8fe12a5d912b1555a0c201524b (diff)
downloadrust-72c109e65c6bf75b4cdd0ef309bbd37e63474eba.tar.gz
rust-72c109e65c6bf75b4cdd0ef309bbd37e63474eba.zip
Update RELEASES.md
-rw-r--r--RELEASES.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/RELEASES.md b/RELEASES.md
index add3e16ddb7..5a5bfd2899e 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -37,8 +37,10 @@ Libraries
   Android platforms when available.][81469]
 - [`slice::IterMut<'_, T>` now implements `AsRef<[T]>`][82771]
 - [Arrays of any length now implement `IntoIterator`.][84147]
-  Currently `.into_iter()` will return `slice::Iter` (`Item=&T`), but
-  this may change in a future edition to return `Item=T`.
+  Currently call `.into_iter()` as a method on an array will
+  return `impl Iterator<Item=&T>`, but this may change in a
+  future edition to change `Item` to `T`. Calling `IntoIterator::into_iter`
+  directly on arrays will provide `impl Iterator<Item=T>` as expected.
 - [`NonZero<T>::{leading_zeros, trailing_zeros}` is now `const`.][84082]
 - [`{f32, f64}::from_str` now parse and print special values
   (`NaN`, `-0`) according to IEEE RFC 754.][78618]