about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-06 13:07:15 +0000
committerbors <bors@rust-lang.org>2023-10-06 13:07:15 +0000
commit1bc0463b183392ad4e0ae9c5f7a76630d487230d (patch)
tree603c1653e265dca10757496c9d2c83a21422f752 /library/core/src/array
parent6683f13fa1ba91ab84dd5bc5bc21965a1b0530e1 (diff)
parent5674092e76f3736239910c892bf459ac686f47d1 (diff)
downloadrust-1bc0463b183392ad4e0ae9c5f7a76630d487230d.tar.gz
rust-1bc0463b183392ad4e0ae9c5f7a76630d487230d.zip
Auto merge of #116483 - GuillaumeGomez:rollup-z65pno1, r=GuillaumeGomez
Rollup of 6 pull requests

Successful merges:

 - #115454 (Clarify example in docs of str::char_slice)
 - #115522 (Clarify ManuallyDrop bit validity)
 - #115588 (Fix a comment in std::iter::successors)
 - #116198 (Add more diagnostic items for clippy)
 - #116329 (update some comments around swap())
 - #116475 (rustdoc-search: fix bug with multi-item impl trait)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs
index 587877dff55..8815cb21fc4 100644
--- a/library/core/src/array/iter.rs
+++ b/library/core/src/array/iter.rs
@@ -13,6 +13,7 @@ use crate::{
 /// A by-value [array] iterator.
 #[stable(feature = "array_value_iter", since = "1.51.0")]
 #[rustc_insignificant_dtor]
+#[rustc_diagnostic_item = "ArrayIntoIter"]
 pub struct IntoIter<T, const N: usize> {
     /// This is the array we are iterating over.
     ///