Skip to content

Commit

Permalink
Fix spec links for some object operation methods (#2111)
Browse files Browse the repository at this point in the history
It changes the following:

Fix spec links for 
- `create_data_property`
- `create_data_property_or_throw`
- `delete_property_or_throw`
  • Loading branch information
CYBAI committed Jun 11, 2022
1 parent 0eb771d commit 637ffcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boa_engine/src/object/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<K, V>(
&self,
key: K,
Expand Down Expand Up @@ -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<K, V>(
&self,
key: K,
Expand Down Expand Up @@ -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<K>(&self, key: K, context: &mut Context) -> JsResult<bool>
where
Expand Down

0 comments on commit 637ffcf

Please sign in to comment.