Skip to content

Commit 82d508f

Browse files
committed
hurd: Fix clippy::redundant_static_lifetimes warnings.
1 parent afd569f commit 82d508f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/unix/hurd/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,12 +1594,12 @@ pub const SEM_VALUE_MAX: c_int = 2147483647;
15941594
pub const MAXNAMLEN: usize = 255;
15951595

15961596
// netdb.h
1597-
pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0";
1598-
pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0";
1599-
pub const _PATH_NETWORKS: &'static [u8; 14usize] = b"/etc/networks\0";
1600-
pub const _PATH_NSSWITCH_CONF: &'static [u8; 19usize] = b"/etc/nsswitch.conf\0";
1601-
pub const _PATH_PROTOCOLS: &'static [u8; 15usize] = b"/etc/protocols\0";
1602-
pub const _PATH_SERVICES: &'static [u8; 14usize] = b"/etc/services\0";
1597+
pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0";
1598+
pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0";
1599+
pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0";
1600+
pub const _PATH_NSSWITCH_CONF: &[u8; 19usize] = b"/etc/nsswitch.conf\0";
1601+
pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0";
1602+
pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0";
16031603
pub const HOST_NOT_FOUND: c_int = 1;
16041604
pub const TRY_AGAIN: c_int = 2;
16051605
pub const NO_RECOVERY: c_int = 3;

0 commit comments

Comments
 (0)