Skip to content

Commit 0d39f90

Browse files
authored
Fix broken links for Reflect (#2147)
Contributes to rustwasm/book#203
1 parent 1076065 commit 0d39f90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/src/reference/accessing-properties-of-untyped-js-values.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ untyped values.
1111

1212
## Reading Properties with `js_sys::Reflect::get`
1313

14-
[API documentation for `js_sys::Reflect::get`.](https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.Reflect.html#method.get)
14+
[API documentation for `js_sys::Reflect::get`.](https://docs.rs/js-sys/0.3.39/js_sys/Reflect/fn.get.html)
1515

1616
A function that returns the value of a property.
1717

@@ -29,7 +29,7 @@ let value = target[property_key];
2929

3030
## Writing Properties with `js_sys::Reflect::set`
3131

32-
[API documentation for `js_sys::Reflect::set`.](https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.Reflect.html#method.set)
32+
[API documentation for `js_sys::Reflect::set`.](https://docs.rs/js-sys/0.3.39/js_sys/Reflect/fn.set.html)
3333

3434
A function that assigns a value to a property. Returns a boolean that is true if
3535
the update was successful.
@@ -48,7 +48,7 @@ target[property_key] = value;
4848

4949
## Determining if a Property Exists with `js_sys::Reflect::has`
5050

51-
[API documentation for `js_sys::Reflect::has`.](https://rustwasm.github.io/wasm-bindgen/api/js_sys/struct.Reflect.html#method.has)
51+
[API documentation for `js_sys::Reflect::has`.](https://docs.rs/js-sys/0.3.39/js_sys/Reflect/fn.has.html)
5252

5353
The JavaScript `in` operator as function. Returns a boolean indicating whether
5454
an own or inherited property exists on the target.

0 commit comments

Comments
 (0)