From 8a38899c98b4f9829b2d1f21c8fee66d254d20c6 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 14 Nov 2021 14:53:01 +0100 Subject: Tidying --- src/eval/value.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/eval') 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(&self) -> bool - where - T: Cast, - { - T::is(self) - } - /// Try to cast the value into a specific type. pub fn cast(self) -> StrResult where -- cgit v1.2.3