Skip to content

Commit 7658a13

Browse files
committed
typo fix
1 parent 338fc7d commit 7658a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/wasi/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Thread {
4848
let wasi::Event { userdata, error, type_, .. } = out[0];
4949
match (n, userdata, error) {
5050
(1, 0x0123_45678, 0) if type_ == wasi::EVENTTYPE_CLOCK => {}
51-
_ => panic!("thread::sleep(): unexpected result of poll_oneof"),
51+
_ => panic!("thread::sleep(): unexpected result of poll_oneoff"),
5252
}
5353
}
5454

0 commit comments

Comments
 (0)