Skip to content

Commit 9f0dbb2

Browse files
de-vri-esJohnTitor
andauthored
Remove explicit unsafe from andoird accept4 wrapper.
Co-authored-by: Yuki Okushi <[email protected]>
1 parent 5bcac36 commit 9f0dbb2

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/android

1 file changed

+1
-1
lines changed

src/unix/linux_like/android/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2355,7 +2355,7 @@ f! {
23552355
// directly. This workaround can be removed if the minimum version of
23562356
// Android is bumped. When the workaround is removed, `accept4` can be
23572357
// moved back to `linux_like/mod.rs`
2358-
pub unsafe fn accept4(
2358+
pub fn accept4(
23592359
fd: ::c_int,
23602360
addr: *mut ::sockaddr,
23612361
len: *mut ::socklen_t,

0 commit comments

Comments
 (0)