about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorJoe Birr-Pixton <jpixton@gmail.com>2025-09-16 11:51:19 +0100
committerJoe Birr-Pixton <jpixton@gmail.com>2025-09-16 11:51:19 +0100
commit1ae720a52dd6a3ed5a375d183aea5330de49eb42 (patch)
treede6cc4f11d3d5fc07acf92a28b7070323a77a757 /library/std/src
parent8a1b39995e5b630c5872f5de5079f1f569bd5ac2 (diff)
downloadrust-1ae720a52dd6a3ed5a375d183aea5330de49eb42.tar.gz
rust-1ae720a52dd6a3ed5a375d183aea5330de49eb42.zip
Fix spelling of "adaptor"
These docs are in en_US, so "adapter" is the correct spelling
(and indeed used in the next line.)
Diffstat (limited to 'library/std/src')
-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.