about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-26 11:00:36 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-26 16:51:02 -0800
commite8d743ec1d0a23b0da41f8d79d18b45932a6dd5a (patch)
tree13efbac3807230f3c6210cc02d8d79e9bd8129d2 /src/libstd/sync
parent60541cdc1ec334b278740fd6d59b9d08929e6d0d (diff)
parentcd5c8235c5448a7234548c772468c8d2e8f150d9 (diff)
downloadrust-e8d743ec1d0a23b0da41f8d79d18b45932a6dd5a.tar.gz
rust-e8d743ec1d0a23b0da41f8d79d18b45932a6dd5a.zip
rollup merge of #19329: steveklabnik/doc_style_cleanup2
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/future.rs28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/libstd/sync/future.rs b/src/libstd/sync/future.rs
index d6f413a0828..f2f9351fd0d 100644
--- a/src/libstd/sync/future.rs
+++ b/src/libstd/sync/future.rs
@@ -8,21 +8,19 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-/*!
- * A type representing values that may be computed concurrently and
- * operations for working with them.
- *
- * # Example
- *
- * ```rust
- * use std::sync::Future;
- * # fn fib(n: uint) -> uint {42};
- * # fn make_a_sandwich() {};
- * let mut delayed_fib = Future::spawn(proc() { fib(5000) });
- * make_a_sandwich();
- * println!("fib(5000) = {}", delayed_fib.get())
- * ```
- */
+//! A type representing values that may be computed concurrently and operations for working with
+//! them.
+//!
+//! # Example
+//!
+//! ```rust
+//! use std::sync::Future;
+//! # fn fib(n: uint) -> uint {42};
+//! # fn make_a_sandwich() {};
+//! let mut delayed_fib = Future::spawn(proc() { fib(5000) });
+//! make_a_sandwich();
+//! println!("fib(5000) = {}", delayed_fib.get())
+//! ```
 
 #![allow(missing_docs)]