From f0c1fa1b61e1d8b2bd60a417ad4e35651d72eaae Mon Sep 17 00:00:00 2001 From: Neil Mitchell Date: Wed, 6 Mar 2024 03:29:08 -0800 Subject: [PATCH] Delete an unused method Summary: Unused, so delete it. Reviewed By: JakobDegen Differential Revision: D54553072 fbshipit-source-id: 3a1df9d8363967ed7a41c8d56fce783bc8591a77 --- starlark/src/values/typing/type_compiled/compiled.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/starlark/src/values/typing/type_compiled/compiled.rs b/starlark/src/values/typing/type_compiled/compiled.rs index a8f844d56..ac7cdd02f 100644 --- a/starlark/src/values/typing/type_compiled/compiled.rs +++ b/starlark/src/values/typing/type_compiled/compiled.rs @@ -86,7 +86,6 @@ enum TypingError { pub(crate) trait TypeCompiledDyn: Debug + Allocative + Send + Sync + 'static { fn as_ty_dyn(&self) -> &Ty; - fn matches_dyn(&self, value: Value) -> bool; fn is_runtime_wildcard_dyn(&self) -> bool; fn to_frozen_dyn(&self, heap: &FrozenHeap) -> TypeCompiled; } @@ -103,9 +102,6 @@ where fn as_ty_dyn(&self) -> &Ty { &self.ty } - fn matches_dyn(&self, value: Value) -> bool { - self.type_compiled_impl.matches(value) - } fn is_runtime_wildcard_dyn(&self) -> bool { self.type_compiled_impl.is_wildcard() }