about summary refs log tree commit diff
path: root/library/std
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/std
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/std')
-rw-r--r--library/std/src/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index ff0e29e04c2..a45edd08e8c 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -1081,7 +1081,7 @@ pub trait Read {
         default_read_buf_exact(self, cursor)
     }
 
-    /// Creates a "by reference" adaptor for this instance of `Read`.
+    /// Creates a "by reference" adapter for this instance of `Read`.
     ///
     /// The returned adapter also implements `Read` and will simply borrow this
     /// current reader.