mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix other uses of "adaptor"
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user