We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab335cc commit 4bb6f76Copy full SHA for 4bb6f76
src/sys/socket/mod.rs
@@ -505,7 +505,7 @@ cfg_if! {
505
506
/// Returns a list group identifiers (the first one being the effective GID)
507
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 _) }
+ unsafe { std::slice::from_raw_parts(self.0.sc_groups.as_ptr() as *const libc::gid_t, self.0.sc_ngroups as _) }
509
}
510
511
0 commit comments