Fix redundant imports on rustc 0.35.0. Fixes #175

This commit is contained in:
ice_iix 2019-05-30 18:13:54 -07:00
parent 75b94356d2
commit 74d37d7150
1 changed files with 1 additions and 1 deletions

View File

@ -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");