From 637ffcfd78e3020fc5719a5b874375290b2dafe2 Mon Sep 17 00:00:00 2001 From: "cybai (Haku)" Date: Sat, 11 Jun 2022 15:11:19 +0000 Subject: [PATCH] Fix spec links for some object operation methods (#2111) It changes the following: Fix spec links for - `create_data_property` - `create_data_property_or_throw` - `delete_property_or_throw` --- boa_engine/src/object/operations.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boa_engine/src/object/operations.rs b/boa_engine/src/object/operations.rs index 91b22c3166..0b148ac012 100644 --- a/boa_engine/src/object/operations.rs +++ b/boa_engine/src/object/operations.rs @@ -102,7 +102,7 @@ impl JsObject { /// More information: /// - [ECMAScript reference][spec] /// - /// [spec]: https://tc39.es/ecma262/#sec-deletepropertyorthrow + /// [spec]: https://tc39.es/ecma262/#sec-createdataproperty pub fn create_data_property( &self, key: K, @@ -132,7 +132,7 @@ impl JsObject { /// More information: /// - [ECMAScript reference][spec] /// - /// [spec]: https://tc39.es/ecma262/#sec-deletepropertyorthrow + /// [spec]: https://tc39.es/ecma262/#sec-createdatapropertyorthrow pub fn create_data_property_or_throw( &self, key: K, @@ -228,7 +228,7 @@ impl JsObject { /// More information: /// - [ECMAScript reference][spec] /// - /// [spec]: https://tc39.es/ecma262/#sec-definepropertyorthrow + /// [spec]: https://tc39.es/ecma262/#sec-deletepropertyorthrow #[inline] pub fn delete_property_or_throw(&self, key: K, context: &mut Context) -> JsResult where