gameServer2/src/main.rs
changeset 13671 09f4a30e50cc
parent 13534 662f7df89d06
child 13801 59ea2403f62d
--- a/gameServer2/src/main.rs	Tue Aug 14 15:25:05 2018 +0200
+++ b/gameServer2/src/main.rs	Thu Aug 16 19:33:03 2018 +0300
@@ -1,5 +1,6 @@
 #![allow(unused_imports)]
 #![deny(bare_trait_objects)]
+#![feature(rust_2018_preview)]
 
 extern crate rand;
 extern crate mio;
@@ -27,7 +28,7 @@
 mod server;
 mod protocol;
 
-use server::network::NetworkLayer;
+use crate::server::network::NetworkLayer;
 use std::time::Duration;
 
 fn main() {