From cbaa1d302ab83676e273583369775b1169735e7c Mon Sep 17 00:00:00 2001 From: ibaryshnikov Date: Fri, 28 Jun 2019 11:14:14 +0300 Subject: [PATCH] added documentation comment for a stable version of wasm-bindgen-futures --- crates/futures/src/lib.rs | 2 ++ crates/futures/src/polyfill.rs | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/crates/futures/src/lib.rs b/crates/futures/src/lib.rs index 2b6278f6..e8a6103c 100644 --- a/crates/futures/src/lib.rs +++ b/crates/futures/src/lib.rs @@ -119,9 +119,11 @@ cfg_if! { /// Contains a Futures 0.3 implementation of this crate. pub mod futures_0_3; + /// Contains stable version of the crate pub mod stable; pub use stable::*; } else { + /// Contains stable version of the crate pub mod stable; pub use stable::*; } diff --git a/crates/futures/src/polyfill.rs b/crates/futures/src/polyfill.rs index 9951c85f..8a2c3424 100644 --- a/crates/futures/src/polyfill.rs +++ b/crates/futures/src/polyfill.rs @@ -1,7 +1,7 @@ -/* - * The polyfill was kindly borrowed from https://github.com/tc39/proposal-atomics-wait-async - * and ported to Rust - */ +//! +//! The polyfill was kindly borrowed from https://github.com/tc39/proposal-atomics-wait-async +//! and ported to Rust +//! /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this