Fix typo in documentation.
This commit is contained in:
@@ -50,7 +50,7 @@ impl ScopeData {
|
|||||||
/// The function passed to `scope` will be provided a [`Scope`] object,
|
/// The function passed to `scope` will be provided a [`Scope`] object,
|
||||||
/// through which scoped threads can be [spawned][`Scope::spawn`].
|
/// through which scoped threads can be [spawned][`Scope::spawn`].
|
||||||
///
|
///
|
||||||
/// Unlike non-scoped threads, scoped threads can non-`'static` data,
|
/// Unlike non-scoped threads, scoped threads can borrow non-`'static` data,
|
||||||
/// as the scope guarantees all threads will be joined at the end of the scope.
|
/// as the scope guarantees all threads will be joined at the end of the scope.
|
||||||
///
|
///
|
||||||
/// All threads spawned within the scope that haven't been manually joined
|
/// All threads spawned within the scope that haven't been manually joined
|
||||||
|
|||||||
Reference in New Issue
Block a user