Skip to content

Commit

Permalink
cargo script example needs nightly -Zscript feature
Browse files Browse the repository at this point in the history
  • Loading branch information
yerke committed Jun 18, 2023
1 parent 2cf2c32 commit ad9ecea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ fn main() {}

A user may optionally specify a manifest in a `cargo` code fence in a module-level comment, like:
```rust
#!/usr/bin/env cargo
#!/usr/bin/env cargo +nightly -Zscript

//! ```cargo
//! [dependencies]
Expand Down

0 comments on commit ad9ecea

Please sign in to comment.