Skip to content

Commit 5837340

Browse files
committed
remove unused unsafe
1 parent 7d65f5f commit 5837340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backends/unix_pthread_wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl PthreadAttr {
2424
Some(PthreadAttr(attr))
2525
}
2626

27-
pub unsafe fn handle_pthread_err(&self, ret: libc::c_int) -> Option<()> {
27+
pub fn handle_pthread_err(&self, ret: libc::c_int) -> Option<()> {
2828
if ret != 0 {
2929
return None;
3030
}

0 commit comments

Comments
 (0)