Skip to content

Commit d3bf89b

Browse files
authored
Fix double import in wasm thread
The `unsupported` type is imported two times, as `super::unsupported` and as `crate::sys::unsupported`, throwing an error. Remove `super::unsupported` in favor of the other.
1 parent 1aa6c7c commit d3bf89b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/std/src/sys/wasm/atomics/thread.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use super::unsupported;
21
use crate::ffi::CStr;
32
use crate::io;
43
use crate::num::NonZeroUsize;

0 commit comments

Comments
 (0)