Skip to content

Commit

Permalink
Fix docs for unstable script feature
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed May 9, 2024
1 parent 7297f0f commit ad254b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -1239,10 +1239,10 @@ fn main() {}
A user may optionally specify a manifest in a `cargo` code fence in a module-level comment, like:
````rust
#!/usr/bin/env -S cargo +nightly -Zscript
```cargo
---cargo
[dependencies]
clap = { version = "4.2", features = ["derive"] }
```
---

use clap::Parser;

Expand Down

0 comments on commit ad254b8

Please sign in to comment.