Skip to content

Commit 21b98bb

Browse files
tweak wording to prevent confusion between Cargo.toml and .cargo/config.toml
1 parent 197bd9c commit 21b98bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cargo install wasm-server-runner
1212

1313
### Step 2.
1414

15-
Add this to your `~/.cargo/config.toml`:
15+
Add this to your `~/.cargo/config.toml` (**not** the `Cargo.toml` of your project!):
1616

1717
```toml
1818
[target.wasm32-unknown-unknown]
@@ -35,4 +35,4 @@ INFO wasm_server_runner: wasm output is 49.79kb large
3535
INFO wasm_server_runner::server: starting webserver at http://127.0.0.1:1334
3636
```
3737
38-
The website will reload when the server is restarted and serve files relative to the current directory.
38+
The website will reload when the server is restarted and serve files relative to the current directory.

0 commit comments

Comments
 (0)