Skip to content

Commit

Permalink
Fix double import in wasm thread
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tversteeg committed Jul 2, 2021
1 parent 1aa6c7c commit d3bf89b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/std/src/sys/wasm/atomics/thread.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use super::unsupported;
use crate::ffi::CStr;
use crate::io;
use crate::num::NonZeroUsize;
Expand Down

0 comments on commit d3bf89b

Please sign in to comment.