diff options
| author | Thomas Versteeg <thomas@versteeg.email> | 2021-07-02 09:37:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-02 09:37:00 +0000 |
| commit | d3bf89b302fca91afa2143170623b0f4a0d534f3 (patch) | |
| tree | e09b3ee1e490c64f36abc728fa09672f937c71b8 | |
| parent | 1aa6c7cbc6d2582e7407cde9c65014aef8a189bb (diff) | |
| download | rust-d3bf89b302fca91afa2143170623b0f4a0d534f3.tar.gz rust-d3bf89b302fca91afa2143170623b0f4a0d534f3.zip | |
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.
| -rw-r--r-- | library/std/src/sys/wasm/atomics/thread.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys/wasm/atomics/thread.rs b/library/std/src/sys/wasm/atomics/thread.rs index 09714835104..a66ab083757 100644 --- a/library/std/src/sys/wasm/atomics/thread.rs +++ b/library/std/src/sys/wasm/atomics/thread.rs @@ -1,4 +1,3 @@ -use super::unsupported; use crate::ffi::CStr; use crate::io; use crate::num::NonZeroUsize; |
