Clippy fixes
This commit is contained in:
@@ -2,8 +2,8 @@ use platform::types::*;
|
||||
|
||||
pub const SOCK_STREAM: c_int = 1;
|
||||
pub const SOCK_DGRAM: c_int = 2;
|
||||
pub const SOCK_NONBLOCK: c_int = 0o4000;
|
||||
pub const SOCK_CLOEXEC: c_int = 0o2000000;
|
||||
pub const SOCK_NONBLOCK: c_int = 0o4_000;
|
||||
pub const SOCK_CLOEXEC: c_int = 0o2_000_000;
|
||||
|
||||
// Other constants
|
||||
pub const SOCK_SEQPACKET: c_int = 5;
|
||||
|
||||
Reference in New Issue
Block a user