Skip to content

Commit c650af3

Browse files
committed
fix: Correct references to toolchain file
1 parent ac2540a commit c650af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/3502-cargo-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ fn main() {
372372
```
373373
- Like with `cargo install`, `.cargo/config.toml` will be read based on the
374374
scripts location rather than the current-dir.
375-
- And like `cargo install`, the current-dir rustup-toolchain is respected
375+
- And like `cargo install`, the current-dir `rust-toolchain.toml` is respected
376376
- `--release` is not passed in because the primary use case is for exploratory
377377
programming, so the emphasis will be on build-time performance and debugging,
378378
rather than runtime performance
@@ -940,7 +940,7 @@ See also [Single-file scripts that download their dependencies](https://dbohdan.
940940
Note: we are assuming the following are **not** future possibilities in this design
941941
- Embedding build scripts
942942
- Embedding `.cargo/config.toml` files
943-
- Embedding `rustup-toolchain.toml` files
943+
- Embedding `rust-toolchain.toml` files
944944
- Embedding other source files or additional packages
945945

946946
## Playground support

0 commit comments

Comments
 (0)