Skip to content

Commit cbaa1d3

Browse files
committed
added documentation comment for a stable version of wasm-bindgen-futures
1 parent 6ab1a49 commit cbaa1d3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

crates/futures/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ cfg_if! {
119119
/// Contains a Futures 0.3 implementation of this crate.
120120
pub mod futures_0_3;
121121

122+
/// Contains stable version of the crate
122123
pub mod stable;
123124
pub use stable::*;
124125
} else {
126+
/// Contains stable version of the crate
125127
pub mod stable;
126128
pub use stable::*;
127129
}

crates/futures/src/polyfill.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*
2-
* The polyfill was kindly borrowed from https://github.com/tc39/proposal-atomics-wait-async
3-
* and ported to Rust
4-
*/
1+
//!
2+
//! The polyfill was kindly borrowed from https://github.com/tc39/proposal-atomics-wait-async
3+
//! and ported to Rust
4+
//!
55
66
/* This Source Code Form is subject to the terms of the Mozilla Public
77
* License, v. 2.0. If a copy of the MPL was not distributed with this

0 commit comments

Comments
 (0)