about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-21 01:20:25 +0800
committerkennytm <kennytm@gmail.com>2018-08-21 17:51:49 +0800
commitb5519db3236a94c1f090dcafaf38ef858ec33a26 (patch)
tree8dda85089b5fcfeaa4909389fa0777e6a908d4e0 /src/libstd/sync
parent0834a1aea7e35deef88981eb90b12d62b6886fd6 (diff)
parent71120ef1e5cb885ee45e6148970db6ce93ce1aca (diff)
downloadrust-b5519db3236a94c1f090dcafaf38ef858ec33a26.tar.gz
rust-b5519db3236a94c1f090dcafaf38ef858ec33a26.zip
Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor
Fix typos found by codespell.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/once.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs
index f6cb8beae84..f258ff073e2 100644
--- a/src/libstd/sync/once.rs
+++ b/src/libstd/sync/once.rs
@@ -176,7 +176,7 @@ impl Once {
     /// happens-before relation between the closure and code executing after the
     /// return).
     ///
-    /// If the given closure recusively invokes `call_once` on the same `Once`
+    /// If the given closure recursively invokes `call_once` on the same `Once`
     /// instance the exact behavior is not specified, allowed outcomes are
     /// a panic or a deadlock.
     ///