From 051f836fdebc6bae0e5aad9eff7b41b14aa4802c Mon Sep 17 00:00:00 2001 From: Scetch Date: Sun, 3 Apr 2016 11:16:51 -0400 Subject: [PATCH] Remove unused Display impl. --- src/world/block/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/world/block/mod.rs b/src/world/block/mod.rs index 30a8fa0..c2db836 100644 --- a/src/world/block/mod.rs +++ b/src/world/block/mod.rs @@ -24,7 +24,6 @@ // Fire (Update State) // CobblestoneWall (Connections) -use std::fmt::{Display, Formatter, Error}; use collision::{Aabb, Aabb3}; use cgmath::Point3; use types::Direction; @@ -4105,12 +4104,6 @@ pub enum StoneVariant { SmoothAndesite, } -impl Display for StoneVariant { - fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { - write!(f, "{}", self.as_string()) - } -} - impl StoneVariant { pub fn as_string(&self) -> &'static str { match *self {