File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ on the git version of it, and of `wasm-bindgen`:*
8
8
``` toml
9
9
[dependencies ]
10
10
wasm-bindgen = { git = " https://github.com/rustwasm/wasm-bindgen" }
11
- web-sys = {
12
- git = " https://github.com/rustwasm/wasm-bindgen " ,
13
- features = [
14
- ]
15
- }
11
+
12
+ [ dependencies . web-sys ]
13
+ git = " https://github.com/rustwasm/wasm-bindgen "
14
+ features = [
15
+ ]
16
16
```
17
17
18
18
## Enable the cargo features for the APIs you're using
@@ -30,12 +30,11 @@ documentation][search-resize-to]. We would find [the
30
30
in ` Cargo.toml ` :
31
31
32
32
``` toml
33
- web-sys = {
34
- git = " https://github.com/rustwasm/wasm-bindgen" ,
35
- features = [
36
- " Window" ,
37
- ]
38
- }
33
+ [dependencies .web-sys ]
34
+ git = " https://github.com/rustwasm/wasm-bindgen"
35
+ features = [
36
+ " Window"
37
+ ]
39
38
```
40
39
41
40
## Call the method!
You can’t perform that action at this time.
0 commit comments