From c9f7cf384f36d53b00c305968801b8e5f694a0d3 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 25 Sep 2015 15:20:55 +0100 Subject: [PATCH] Clean up --- 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 8798f85..542de20 100644 --- a/protocol/src/protocol/mojang.rs +++ b/protocol/src/protocol/mojang.rs @@ -38,7 +38,7 @@ impl Profile { if negative { twos_compliment(&mut hash); } - let hash_str = hash.iter().map(|b| format!("{:02X}", b)).collect::>().connect(""); + let hash_str = hash.iter().map(|b| format!("{:02X}", b)).collect::>().join(""); let hash_val = hash_str.trim_matches('0'); let hash_str = if negative { "-".to_owned() + &hash_val[..]