From 1d04ce611d58daf9975e7ded60a6c49a530317f1 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Sat, 22 Oct 2022 17:05:33 +0200 Subject: [PATCH] remove ununsed function --- index-scheduler/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 66f9917c7..8df71a2d7 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -863,14 +863,6 @@ mod tests { fn next_breakpoint(&self) -> Breakpoint { self.test_breakpoint_rcv.recv().unwrap() } - - /// The scheduler will not stop on breakpoints anymore. - fn dont_block(self) { - std::thread::spawn(move || loop { - // unroll and ignore all the state the scheduler is going to send us. - self.test_breakpoint_rcv.iter().last(); - }); - } } #[test]