From d1b69cf89b962210629149f191a7cd6647d8d5d1 Mon Sep 17 00:00:00 2001 From: BlackHoleFox Date: Wed, 26 May 2021 02:37:39 -0500 Subject: [PATCH] Fix typo in core::array::IntoIter comment --- library/core/src/array/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs index c36542f631488..aedbeab661058 100644 --- a/library/core/src/array/iter.rs +++ b/library/core/src/array/iter.rs @@ -139,7 +139,7 @@ impl Iterator for IntoIter { // SAFETY: Callers are only allowed to pass an index that is in bounds // Additionally Self: TrustedRandomAccess is only implemented for T: Copy which means even // multiple repeated reads of the same index would be safe and the - // values aree !Drop, thus won't suffer from double drops. + // values are !Drop, thus won't suffer from double drops. unsafe { self.data.get_unchecked(self.alive.start + idx).assume_init_read() } } }