summaryrefslogtreecommitdiff
path: root/dhall_core/src/label.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_core/src/label.rs')
-rw-r--r--dhall_core/src/label.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/dhall_core/src/label.rs b/dhall_core/src/label.rs
index 3633b93..8b371af 100644
--- a/dhall_core/src/label.rs
+++ b/dhall_core/src/label.rs
@@ -1,4 +1,3 @@
-use std::fmt::{self, Display};
use std::rc::Rc;
// The type for labels throughout the AST
@@ -25,12 +24,6 @@ impl From<Label> for String {
}
}
-impl Display for Label {
- fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
- self.0.as_ref().fmt(f)
- }
-}
-
impl Label {
pub fn from_str(s: &str) -> Label {
Label(s.into())