Upgrade to the 2018 edition

I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
This commit is contained in:
jD91mZM2
2019-07-28 18:13:31 +02:00
parent 72c2f59f17
commit c7d499d4f2
113 changed files with 377 additions and 376 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
use platform::types::*;
use crate::platform::types::*;
pub const SOCK_STREAM: c_int = 1;
pub const SOCK_DGRAM: c_int = 2;
+2 -2
View File
@@ -2,8 +2,8 @@
use core::ptr;
use platform::types::*;
use platform::{PalSocket, Sys};
use crate::platform::types::*;
use crate::platform::{PalSocket, Sys};
pub mod constants;