We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6b2128 + fc69db1 commit 798ce31Copy full SHA for 798ce31
CHANGELOG.md
@@ -61,7 +61,7 @@ deprecated `sync::channel` types, and introduces the `tokio1` feature.
61
62
As part of our `1.8.0` release last month we introduced the new
63
`async_std::channel` submodule and deprecated the unstable
64
-`async_std::sync::channel` types. You can read our full motiviation for this
+`async_std::sync::channel` types. You can read our full motivation for this
65
change in the last patch notes. But the short version is that the old
66
channels had some fundamental problems, and the `sync` submodule is a bit of
67
a mess.
docs/src/security/index.md
@@ -1,6 +1,6 @@
1
# Security
2
3
-Writing a highly perfomant async core library is a task involving some instances of unsafe code.
+Writing a highly performant async core library is a task involving some instances of unsafe code.
4
5
We take great care in vetting all unsafe code included in `async-std` and do follow generally accepted practices.
6
docs/src/tutorial/clean_shutdown.md
@@ -245,7 +245,7 @@ async fn broker_loop(mut events: Receiver<Event>) -> Result<()> {
245
Notice what happens with all of the channels once we exit the accept loop:
246
247
1. First, we drop the main broker's sender.
248
- That way when the readers are done, there's no sender for the broker's channel, and the chanel closes.
+ That way when the readers are done, there's no sender for the broker's channel, and the channel closes.
249
2. Next, the broker exits `while let Some(event) = events.next().await` loop.
250
3. It's crucial that, at this stage, we drop the `peers` map.
251
This drops writer's senders.
src/fs/open_options.rs
@@ -136,7 +136,7 @@ impl OpenOptions {
136
/// Configures the option for append mode.
137
///
138
/// When set to `true`, this option means the file will be writable after opening and the file
139
- /// cursor will be moved to the end of file before every write operaiton.
+ /// cursor will be moved to the end of file before every write operation.
140
141
/// # Examples
142
src/io/write/write_fmt.rs
@@ -18,7 +18,7 @@ impl<T: Write + Unpin + ?Sized> Future for WriteFmtFuture<'_, T> {
18
type Output = io::Result<()>;
19
20
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
21
- // Process the interal Result the first time we run.
+ // Process the internal Result the first time we run.
22
if self.buffer.is_none() {
23
match self.res.take().unwrap() {
24
Err(err) => return Poll::Ready(Err(err)),
src/stream/stream/mod.rs
@@ -1485,7 +1485,7 @@ pub trait StreamExt: Stream {
1485
the stream and ignore elements until it returns `false`.
1486
1487
After `false` is returned, `SkipWhile`'s job is over and all further
1488
- elements in the strem are yielded.
+ elements in the stream are yielded.
1489
1490
## Examples
1491
src/sync/condvar.rs
@@ -135,7 +135,7 @@ impl Condvar {
135
}
- /// Blocks the current taks until this condition variable receives a notification and the
+ /// Blocks the current task until this condition variable receives a notification and the
/// required condition is met. Spurious wakeups are ignored and this function will only
/// return once the condition has been met.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments