Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Nov 10, 2024
1 parent 40ecc46 commit 4089910
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,13 @@ mod tests {
let keepalive_timeout = config.keepalive_timeout();
let rio = io.get_ref();

let state = Rc::new(RefCell::new(DispatcherState {
error: None,
base: 0,
queue: VecDeque::new(),
}));
let state = Rc::new(DispatcherState {
error: Cell::new(None),
base: Cell::new(0),
ready: Cell::new(false),
waker: LocalWaker::default(),
queue: RefCell::new(VecDeque::new()),
});

(
Dispatcher {
Expand Down

0 comments on commit 4089910

Please sign in to comment.