summaryrefslogtreecommitdiff
path: root/src/eval/value.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-14 14:53:01 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-14 15:06:34 +0100
commit8a38899c98b4f9829b2d1f21c8fee66d254d20c6 (patch)
treea3c611843cd515b39e6e42dcff9003b4ab60c42a /src/eval/value.rs
parent14048937b877d242de8b585905cdab3ac6acd9ee (diff)
Tidying
Diffstat (limited to 'src/eval/value.rs')
-rw-r--r--src/eval/value.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/eval/value.rs b/src/eval/value.rs
index 2c6167a4..804f8d55 100644
--- a/src/eval/value.rs
+++ b/src/eval/value.rs
@@ -72,14 +72,6 @@ impl Value {
}
}
- /// Check whether the value is castable into a specific type.
- pub fn is<T>(&self) -> bool
- where
- T: Cast<Value>,
- {
- T::is(self)
- }
-
/// Try to cast the value into a specific type.
pub fn cast<T>(self) -> StrResult<T>
where