Skip to content

Commit e0bc326

Browse files
committed
1 parent 16132ad commit e0bc326

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bytes_mut.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ impl BytesMut {
226226
/// # Examples
227227
///
228228
/// ```
229+
/// # // Threads do not work on wasm.
230+
/// # #![cfg(not(target_family = "wasm"))]
231+
///
229232
/// use bytes::{BytesMut, BufMut};
230233
/// use std::thread;
231234
///

0 commit comments

Comments
 (0)