]> git.lizzy.rs Git - rust.git/commitdiff
Uncapitalize "If"
authorMatt Kraai <kraai@ftbfs.org>
Thu, 12 Jul 2018 00:19:41 +0000 (17:19 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Jul 2018 00:19:41 +0000 (17:19 -0700)
src/libstd/sync/mpsc/mod.rs

index 2dd3aebe6108ee839a83e5088d387bc8f76e0a53..cbda5afadcdfc14858813589527d7ba76615fe14 100644 (file)
@@ -689,7 +689,7 @@ fn inner_unsafe(&self) -> &UnsafeCell<Flavor<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`].
 ///