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>,