From f0fd3eabf4b44a7a828a1a51ca5cab47637db2ed Mon Sep 17 00:00:00 2001 From: ice_iix Date: Sun, 4 Nov 2018 12:35:06 -0800 Subject: [PATCH] Remove unnecessary 'extern crate's in Rust 2018 edition, import macros https://rust-lang-nursery.github.io/edition-guide/print.html#no-more-extern-crate https://rust-lang-nursery.github.io/edition-guide/rust-2018/macros/macro-changes.html https://github.com/iceiix/steven/pull/13#issuecomment-435702507 --- protocol/src/protocol/mojang.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/protocol/mojang.rs b/protocol/src/protocol/mojang.rs index a0c7704..3a5f527 100644 --- a/protocol/src/protocol/mojang.rs +++ b/protocol/src/protocol/mojang.rs @@ -13,7 +13,7 @@ // limitations under the License. use sha1::{self, Digest}; -use serde_json; +use serde_json::json; use reqwest; #[derive(Clone, Debug)]