Update to use crate:: for current crate, for Rust 2018 edition

From `cargo fix --edition`, see https://rust-lang-nursery.github.io/edition-guide/print.html#the-crate-keyword-refers-to-the-current-crate
This commit is contained in:
ice_iix 2018-11-04 11:48:03 -08:00
parent 099e10195b
commit cb9cf3ef70
2 changed files with 7 additions and 7 deletions

View File

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use nbt;
use protocol::{self, Serializable};
use crate::nbt;
use crate::protocol::{self, Serializable};
use std::io;
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};

View File

@ -16,11 +16,11 @@ use std::collections::HashMap;
use std::marker::PhantomData;
use std::io;
use std::fmt;
use protocol;
use protocol::Serializable;
use format;
use item;
use shared::Position;
use crate::protocol;
use crate::protocol::Serializable;
use crate::format;
use crate::item;
use crate::shared::Position;
pub struct MetadataKey<T: MetaValue> {
index: i32,