Remove unused function

This commit is contained in:
bjorn3 2021-09-16 14:58:36 +02:00
parent a8bb3bcd38
commit 1ad44b23d1

View File

@ -42,7 +42,3 @@ pub fn set(stack_guard: Option<Guard>, thread: Thread) {
THREAD_INFO.with(|c| assert!(c.borrow().is_none()));
THREAD_INFO.with(move |c| *c.borrow_mut() = Some(ThreadInfo { stack_guard, thread }));
}
pub fn reset_guard(stack_guard: Option<Guard>) {
THREAD_INFO.with(move |c| c.borrow_mut().as_mut().unwrap().stack_guard = stack_guard);
}