]>
git.proxmox.com Git - rustc.git/blob - library/core/tests/task.rs
5 // test that the methods of `Poll` are usable in a const context
7 const POLL
: Poll
<usize> = Poll
::Pending
;
9 const IS_READY
: bool
= POLL
.is_ready();
12 const IS_PENDING
: bool
= POLL
.is_pending();