about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-01-13 02:26:34 +0800
committerGitHub <noreply@github.com>2018-01-13 02:26:34 +0800
commit426036b517c8afd71d6ee6dcb1e4d942f2e2d437 (patch)
tree483f98343668c596fcfdae40e70f58979d3fa29f /src
parent9bedbcc9bf62cefdd6d947ecf18eb53f71b28f48 (diff)
parentd0d5db65c79ee79dea761be81fd8bd6847366e3d (diff)
downloadrust-426036b517c8afd71d6ee6dcb1e4d942f2e2d437.tar.gz
rust-426036b517c8afd71d6ee6dcb1e4d942f2e2d437.zip
Rollup merge of #47310 - bmusin:patch-1, r=sfackler
fix typo rwlock.rs

Hi. Fixed typo: contained -> content
Diffstat (limited to 'src')
-rw-r--r--src/libstd/sync/rwlock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs
index 0f3f4e50f7e..2edf02efc47 100644
--- a/src/libstd/sync/rwlock.rs
+++ b/src/libstd/sync/rwlock.rs
@@ -36,7 +36,7 @@ use sys_common::rwlock as sys;
 /// required that `T` satisfies [`Send`] to be shared across threads and
 /// [`Sync`] to allow concurrent access through readers. The RAII guards
 /// returned from the locking methods implement [`Deref`][] (and [`DerefMut`]
-/// for the `write` methods) to allow access to the contained of the lock.
+/// for the `write` methods) to allow access to the content of the lock.
 ///
 /// # Poisoning
 ///