Skip to content

Commit 87ffdec

Browse files
epagekennytm
andauthored
fix: Typo in example command
Co-authored-by: kennytm <[email protected]>
1 parent ed8ebc9 commit 87ffdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3502-cargo-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ This is generally viewed as a script-author decision, rather than a user decisio
10881088
In the short term, users can configure `[profile.dev]` to match `[profile.release]`, see [Cargo's Profiles chapter](https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles).
10891089

10901090
Potential options for addressing this include
1091-
- Add `cargo --release <script>` or `cargo --profile=name> <script>`
1091+
- Add `cargo --release <script>` or `cargo --profile=<name> <script>`
10921092
- This would only work on systems that support `env -S` which might be fine as this is a more specialized case already
10931093
- This doesn't scale too well for other customization
10941094
- Add a "default profile" of some kind to the manifest format

0 commit comments

Comments
 (0)