Skip to content

Commit 4bb6f76

Browse files
committed
Add required namespace
1 parent ab335cc commit 4bb6f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/socket/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ cfg_if! {
505505

506506
/// Returns a list group identifiers (the first one being the effective GID)
507507
pub fn groups(&self) -> &[libc::gid_t] {
508-
unsafe { slice::from_raw_parts(self.0.sc_groups.as_ptr() as *const libc::gid_t, self.0.sc_ngroups as _) }
508+
unsafe { std::slice::from_raw_parts(self.0.sc_groups.as_ptr() as *const libc::gid_t, self.0.sc_ngroups as _) }
509509
}
510510
}
511511

0 commit comments

Comments
 (0)