diff options
author | mental <m3nta1@yahoo.com> | 2020-09-02 20:37:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 12:37:13 -0700 |
commit | c9f5bc29158a6f3a786e9d67df8da31524e8a9c3 (patch) | |
tree | 5a5036435833cf80b2bd81165e89a5c57795e9cc /tokio/src/sync/batch_semaphore.rs | |
parent | 5cdb6f8fd6be35f971d8ef7ea8984f4d01965620 (diff) |
util: add `const fn` support for internal `LinkedList`. (#2805)
Diffstat (limited to 'tokio/src/sync/batch_semaphore.rs')
-rw-r--r-- | tokio/src/sync/batch_semaphore.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/batch_semaphore.rs b/tokio/src/sync/batch_semaphore.rs index aad6c6f1..c48a911c 100644 --- a/tokio/src/sync/batch_semaphore.rs +++ b/tokio/src/sync/batch_semaphore.rs @@ -36,7 +36,7 @@ pub(crate) struct Semaphore { } struct Waitlist { - queue: LinkedList<Waiter>, + queue: LinkedList<Waiter, <Waiter as linked_list::Link>::Target>, closed: bool, } |