about summary refs log tree commit diff
path: root/library/std/src/sys/wasm/thread.rs
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2021-04-14 03:19:01 +0200
committerChristiaan Dirkx <christiaan@dirkx.email>2021-04-20 20:53:07 +0200
commitd45e1314f36ac249e8fb7d9564362ac8f94e49be (patch)
tree25a3341090f572e93a857c4f8566f75168eb8ff5 /library/std/src/sys/wasm/thread.rs
parent389fef3b304bd4f196a337797591d9f8db998a62 (diff)
downloadrust-d45e1314f36ac249e8fb7d9564362ac8f94e49be.tar.gz
rust-d45e1314f36ac249e8fb7d9564362ac8f94e49be.zip
Change uses of never type
Diffstat (limited to 'library/std/src/sys/wasm/thread.rs')
-rw-r--r--library/std/src/sys/wasm/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/wasm/thread.rs b/library/std/src/sys/wasm/thread.rs
index 77f8c79ced9..b7bf95c89b4 100644
--- a/library/std/src/sys/wasm/thread.rs
+++ b/library/std/src/sys/wasm/thread.rs
@@ -47,7 +47,7 @@ impl Thread {
     }
 
     pub fn join(self) {
-        match self.0 {}
+        self.0
     }
 }