From ff332b6467b2b93831c3f0ae3665e920ec725959 Mon Sep 17 00:00:00 2001 From: Barosl Lee Date: Sat, 9 May 2015 00:12:29 +0900 Subject: Squeeze the last bits of `task`s in documentation in favor of `thread` An automated script was run against the `.rs` and `.md` files, subsituting every occurrence of `task` with `thread`. In the `.rs` files, only the texts in the comment blocks were affected. --- src/liballoc/arc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/liballoc/arc.rs') diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index ab7030bee15..8c3c21a8902 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -31,7 +31,7 @@ //! //! # Examples //! -//! Sharing some immutable data between tasks: +//! Sharing some immutable data between threads: //! //! ```no_run //! use std::sync::Arc; @@ -48,7 +48,7 @@ //! } //! ``` //! -//! Sharing mutable data safely between tasks with a `Mutex`: +//! Sharing mutable data safely between threads with a `Mutex`: //! //! ```no_run //! use std::sync::{Arc, Mutex}; @@ -89,9 +89,9 @@ use heap::deallocate; /// /// # Examples /// -/// In this example, a large vector of floats is shared between several tasks. +/// In this example, a large vector of floats is shared between several threads. /// With simple pipes, without `Arc`, a copy would have to be made for each -/// task. +/// thread. /// /// When you clone an `Arc`, it will create another pointer to the data and /// increase the reference counter. -- cgit 1.4.1-3-g733a5