diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-14 14:53:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-14 15:06:34 +0100 |
| commit | 8a38899c98b4f9829b2d1f21c8fee66d254d20c6 (patch) | |
| tree | a3c611843cd515b39e6e42dcff9003b4ab60c42a /src/eval | |
| parent | 14048937b877d242de8b585905cdab3ac6acd9ee (diff) | |
Tidying
Diffstat (limited to 'src/eval')
| -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 |
