Skip to content

Commit c5e4360

Browse files
committed
Remove const for loom compatability
1 parent c303336 commit c5e4360

File tree

1 file changed

+1
-1
lines changed
  • tokio/src/runtime/scheduler/multi_thread/queue/bwosq/bwosqueue

1 file changed

+1
-1
lines changed

tokio/src/runtime/scheduler/multi_thread/queue/bwosq/bwosqueue/bwos_queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod bwsstats {
1515
}
1616

1717
impl BwsStats {
18-
pub(crate) const fn new() -> Self {
18+
pub(crate) fn new() -> Self {
1919
Self {
2020
owner_counter: CachePadded::new(AtomicUsize::new(0)),
2121
total_stolen: CachePadded::new(AtomicUsize::new(0)),

0 commit comments

Comments
 (0)