mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Remove unused function
This commit is contained in:
parent
a8bb3bcd38
commit
1ad44b23d1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user