From 74d37d7150870a1a682b0fcc44bf48a3ff76be88 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Thu, 30 May 2019 18:13:54 -0700 Subject: [PATCH] Fix redundant imports on rustc 0.35.0. Fixes #175 --- protocol/src/protocol/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/protocol/mod.rs b/protocol/src/protocol/mod.rs index ae069f9..76a9888 100644 --- a/protocol/src/protocol/mod.rs +++ b/protocol/src/protocol/mod.rs @@ -22,6 +22,7 @@ use serde_json; use std_or_web::fs; #[cfg(not(target_arch = "wasm32"))] use reqwest; +use hex; pub mod mojang; pub mod forge; @@ -409,7 +410,6 @@ pub struct UUID(u64, u64); impl UUID { pub fn from_str(s: &str) -> UUID { - use hex; // TODO: Panics aren't the best idea here if s.len() != 36 { panic!("Invalid UUID format");