Skip to content

Commit

Permalink
Delete an unused method
Browse files Browse the repository at this point in the history
Summary: Unused, so delete it.

Reviewed By: JakobDegen

Differential Revision: D54553072

fbshipit-source-id: 3a1df9d8363967ed7a41c8d56fce783bc8591a77
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Mar 6, 2024
1 parent e9485b5 commit f0c1fa1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions starlark/src/values/typing/type_compiled/compiled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<FrozenValue>;
}
Expand All @@ -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()
}
Expand Down

0 comments on commit f0c1fa1

Please sign in to comment.