about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-12 20:25:29 +0800
committerGitHub <noreply@github.com>2018-07-12 20:25:29 +0800
commiteb1728b5854149da67150dacdb02e06a02738112 (patch)
treea6671c7682c15efdd7d3208ebc0c164954cd041d /src/libstd
parent63cc55b2ecdcccd0ef57ce89fcd5453f6567b63f (diff)
parente488cba6784eebc36b9869239b729a4e41048d3f (diff)
downloadrust-eb1728b5854149da67150dacdb02e06a02738112.tar.gz
rust-eb1728b5854149da67150dacdb02e06a02738112.zip
Rollup merge of #52277 - kraai:patch-2, r=kennytm
Uncapitalize "If"
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sync/mpsc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs
index 2dd3aebe610..cbda5afadcd 100644
--- a/src/libstd/sync/mpsc/mod.rs
+++ b/src/libstd/sync/mpsc/mod.rs
@@ -689,7 +689,7 @@ impl<T> UnsafeFlavor<T> for Receiver<T> {
 /// only one [`Receiver`] is supported.
 ///
 /// If the [`Receiver`] is disconnected while trying to [`send`] with the
-/// [`Sender`], the [`send`] method will return a [`SendError`]. Similarly, If the
+/// [`Sender`], the [`send`] method will return a [`SendError`]. Similarly, if the
 /// [`Sender`] is disconnected while trying to [`recv`], the [`recv`] method will
 /// return a [`RecvError`].
 ///