about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorBulat Musin <9249387+bmusin@users.noreply.github.com>2018-01-10 08:03:10 +0300
committerGitHub <noreply@github.com>2018-01-10 08:03:10 +0300
commitd0d5db65c79ee79dea761be81fd8bd6847366e3d (patch)
treee02bc1774f85ea4cc78022a89c42f6010ce5c592 /src/libstd/sync
parent107e65ec019ce1654d50e415dbbf742f7f1a5e15 (diff)
downloadrust-d0d5db65c79ee79dea761be81fd8bd6847366e3d.tar.gz
rust-d0d5db65c79ee79dea761be81fd8bd6847366e3d.zip
fix typo rwlock.rs
Hi. Fixed typo: contained -> content
Diffstat (limited to 'src/libstd/sync')
-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
 ///