diff options
Diffstat (limited to 'src/eval/value.rs')
| -rw-r--r-- | src/eval/value.rs | 8 |
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 |
