about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-23 18:13:51 +0200
committerGitHub <noreply@github.com>2025-09-23 18:13:51 +0200
commit076ada52d35b6226a7b8cf014ec936b83fe4602c (patch)
tree52732b2dd33620403c95bbfb1a695f5e4f841608 /library/core/src
parent40560823602064f4c726aea3e15e104449e1a392 (diff)
parent325ceef018030f922840a10741d194b4223ecc59 (diff)
downloadrust-076ada52d35b6226a7b8cf014ec936b83fe4602c.tar.gz
rust-076ada52d35b6226a7b8cf014ec936b83fe4602c.zip
Rollup merge of #146632 - ctz:jbp-adaptor-spelling, r=petrochenkov
Fix uses of "adaptor"

These docs are in en_US, so "adapter" is the correct spelling (and indeed used in the next line.)

A second commit comes along for the ride to fix other instances in non-rustdoc comments.
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/iter/adapters/flatten.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/adapters/flatten.rs b/library/core/src/iter/adapters/flatten.rs
index a820045521b..c50f07ff6bb 100644
--- a/library/core/src/iter/adapters/flatten.rs
+++ b/library/core/src/iter/adapters/flatten.rs
@@ -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> {}