Fix other uses of "adaptor"

This commit is contained in:
Joe Birr-Pixton
2025-09-16 11:52:43 +01:00
parent 1ae720a52d
commit 325ceef018
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -779,7 +779,7 @@ impl<T> OneShot for result::IterMut<'_, T> {}
impl<T> OneShot for Empty<T> {}
impl<T> OneShot for array::IntoIter<T, 0> {}
// These adaptors never increase the number of items.
// These adapters never increase the number of items.
// (There are more possible, but for now this matches BoundedSize above.)
impl<I: OneShot> OneShot for Cloned<I> {}
impl<I: OneShot> OneShot for Copied<I> {}
@@ -2,7 +2,7 @@
//! This snippet causes the type length to blowup exponentially,
//! so check that we don't accidentally exceed the type length limit.
// FIXME: Once the size of iterator adaptors is further reduced,
// FIXME: Once the size of iterator adapters is further reduced,
// increase the complexity of this test.
use std::collections::VecDeque;
@@ -1,7 +1,7 @@
//@ compile-flags: -Znext-solver
//@ check-pass
// Fixes a regression in icu_provider_adaptors where we weren't normalizing the
// Fixes a regression in icu_provider_adapters where we weren't normalizing the
// return type of a function type before performing a `Ty::builtin_deref` call,
// leading to an ICE.