Skip to content

Commit 1ae720a

Browse files
committed
Fix spelling of "adaptor"
These docs are in en_US, so "adapter" is the correct spelling (and indeed used in the next line.)
1 parent 8a1b399 commit 1ae720a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ pub trait Read {
10811081
default_read_buf_exact(self, cursor)
10821082
}
10831083

1084-
/// Creates a "by reference" adaptor for this instance of `Read`.
1084+
/// Creates a "by reference" adapter for this instance of `Read`.
10851085
///
10861086
/// The returned adapter also implements `Read` and will simply borrow this
10871087
/// current reader.

0 commit comments

Comments
 (0)