Skip to content

Commit f0c1fa1

Browse files
ndmitchellfacebook-github-bot
authored andcommitted
Delete an unused method
Summary: Unused, so delete it. Reviewed By: JakobDegen Differential Revision: D54553072 fbshipit-source-id: 3a1df9d8363967ed7a41c8d56fce783bc8591a77
1 parent e9485b5 commit f0c1fa1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

starlark/src/values/typing/type_compiled/compiled.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ enum TypingError {
8686

8787
pub(crate) trait TypeCompiledDyn: Debug + Allocative + Send + Sync + 'static {
8888
fn as_ty_dyn(&self) -> &Ty;
89-
fn matches_dyn(&self, value: Value) -> bool;
9089
fn is_runtime_wildcard_dyn(&self) -> bool;
9190
fn to_frozen_dyn(&self, heap: &FrozenHeap) -> TypeCompiled<FrozenValue>;
9291
}
@@ -103,9 +102,6 @@ where
103102
fn as_ty_dyn(&self) -> &Ty {
104103
&self.ty
105104
}
106-
fn matches_dyn(&self, value: Value) -> bool {
107-
self.type_compiled_impl.matches(value)
108-
}
109105
fn is_runtime_wildcard_dyn(&self) -> bool {
110106
self.type_compiled_impl.is_wildcard()
111107
}

0 commit comments

Comments
 (0)