From f8bcb257ddf6595fa7dd68a7f5906e04d844507a Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Mon, 20 Apr 2020 09:48:11 +0100 Subject: [PATCH] dep kind --- boa/src/builtins/function_object.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boa/src/builtins/function_object.rs b/boa/src/builtins/function_object.rs index 00576cc6358..bf5ecd64001 100644 --- a/boa/src/builtins/function_object.rs +++ b/boa/src/builtins/function_object.rs @@ -53,7 +53,9 @@ pub enum FunctionBody { /// #[derive(Finalize, Clone)] pub struct Function { - /// Kind, this *may* not be needed but will keep for now + /// @deprecated + /// + /// Functions were originally the same as Object, so `kind` was needed to differentiate pub kind: ObjectKind, /// Internal Slots pub internal_slots: Box>,