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:
parent
099e10195b
commit
cb9cf3ef70
|
@ -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};
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue