Skip to content

Commit ce0ecb7

Browse files
committed
Remove unused function
1 parent 8358e10 commit ce0ecb7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

std/src/sys_common/thread_info.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,3 @@ pub fn set(stack_guard: Option<Guard>, thread: Thread) {
4242
THREAD_INFO.with(|c| assert!(c.borrow().is_none()));
4343
THREAD_INFO.with(move |c| *c.borrow_mut() = Some(ThreadInfo { stack_guard, thread }));
4444
}
45-
46-
pub fn reset_guard(stack_guard: Option<Guard>) {
47-
THREAD_INFO.with(move |c| c.borrow_mut().as_mut().unwrap().stack_guard = stack_guard);
48-
}

0 commit comments

Comments
 (0)